From 1ecbd442fa5cee860cc4b241fc436ced8394024f Mon Sep 17 00:00:00 2001 From: Animesh Kishore Date: Fri, 23 Dec 2011 11:55:10 +0530 Subject: video: tegra: dc: Fix dc stream random failure to stop Fix dc stream randomly failing to stop. Add stablization delay during dsi interface reset. Bug 913019 Change-Id: I1cf3013659de75d15cb1ff41b27c63abd953d614 Signed-off-by: Animesh Kishore Reviewed-on: http://git-master/r/71952 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Pavan Kunapuli Reviewed-by: Krishna Yarlagadda Reviewed-by: Laxman Dewangan --- drivers/video/tegra/dc/dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/video/tegra/dc/dc.c') diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c index 04de0ede49c2..1c0ff2a51bea 100644 --- a/drivers/video/tegra/dc/dc.c +++ b/drivers/video/tegra/dc/dc.c @@ -2064,7 +2064,7 @@ static void tegra_dc_one_shot_irq(struct tegra_dc *dc, unsigned long status) tegra_dc_underflow_handler(dc); /* Mark the frame_end as complete. */ - if (completion_done(&dc->frame_end_complete)) + if (!completion_done(&dc->frame_end_complete)) complete(&dc->frame_end_complete); } } @@ -2081,7 +2081,7 @@ static void tegra_dc_continuous_irq(struct tegra_dc *dc, unsigned long status) if (status & FRAME_END_INT) { /* Mark the frame_end as complete. */ - if (completion_done(&dc->frame_end_complete)) + if (!completion_done(&dc->frame_end_complete)) complete(&dc->frame_end_complete); tegra_dc_trigger_windows(dc); -- cgit v1.2.3