summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorSree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>2013-10-16 13:26:13 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:22:25 -0700
commit854eb17b511e86dbecf29dd2d14cdc1aa6b13e23 (patch)
tree30fa4ff1468caaffa691fdc0f051fc6529294a9f /drivers/video/fbdev
parent288c2f2bd444352ea88b431313474300d9eff12b (diff)
msm: mdss: reset ctl interface during video stop
Interface ctl needs to be reset by software during video stop to prevent hardware's state machine from going into bad state. One usecase that causes this to happen is when HDMI interface is disconnected during video playback and reconnected with left and right mixers swapped for the 3D muxing. Change-Id: Ib62e39a8399a4e43c3e44f3ab5e0ad0acd5d77a0 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_intf_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c
index 4c13fef468da..6c64b43f9e00 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c
@@ -330,6 +330,7 @@ static int mdss_mdp_video_stop(struct mdss_mdp_ctl *ctl)
mdss_mdp_set_intr_callback(MDSS_MDP_IRQ_INTF_UNDER_RUN, ctl->intf_num,
NULL, NULL);
+ mdss_mdp_ctl_reset(ctl);
ctx->ref_cnt--;
ctl->priv_data = NULL;