msm_fb: display: add config of wb_mux_sel during update

To make sure for each writeback play the reg is configured and avoid
mdp hang.

Change-Id: I29bdc31f27accca84e7add126c1c1e3c8a78fa15
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
(cherry picked from commit 36ca4e992dc5c75a2dd709969db850aa02e7c6e7)
This commit is contained in:
Huaibin Yang 2012-11-05 16:18:53 -08:00 committed by Stephen Boyd
parent 86f43ec47d
commit 1a842e0ea7

View file

@ -269,6 +269,12 @@ static int mdp4_overlay_writeback_update(struct msm_fb_data_type *mfd)
mdp4_mixer_stage_up(pipe, 0);
mdp4_overlayproc_cfg(pipe);
if (hdmi_prim_display)
outpdw(MDP_BASE + 0x100F4, 0x01);
else
outpdw(MDP_BASE + 0x100F4, 0x02);
/* MDP cmd block disable */
mdp_clk_ctrl(0);