summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc.c
diff options
context:
space:
mode:
authorAnimesh Kishore <ankishore@nvidia.com>2012-01-27 19:55:48 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-02-03 05:55:44 -0800
commit5d89a46f865411446813018b5072c89845820cd1 (patch)
tree91db90fa550d0709a93710b0cf5d8b5045df531d /drivers/video/tegra/dc/dc.c
parent6bc5e3cc4858726819db7af65a6991c52c41f31c (diff)
video: tegra: dc: Call display client disable before dc irq disable
dc irqs are required in display client disable to flag stopping of dc stream. Bug 930453 Reviewed-on: http://git-master/r/77808 Change-Id: I0e057ca14078d9e608cb32380123fade813c4041 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78898 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/video/tegra/dc/dc.c')
-rw-r--r--drivers/video/tegra/dc/dc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index bdd0a02..9548427 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -2481,13 +2481,13 @@ static void _tegra_dc_controller_disable(struct tegra_dc *dc)
{
unsigned i;
+ if (dc->out_ops && dc->out_ops->disable)
+ dc->out_ops->disable(dc);
+
tegra_dc_writel(dc, 0, DC_CMD_INT_MASK);
tegra_dc_writel(dc, 0, DC_CMD_INT_ENABLE);
disable_irq(dc->irq);
- if (dc->out_ops && dc->out_ops->disable)
- dc->out_ops->disable(dc);
-
tegra_dc_clear_bandwidth(dc);
clk_disable(dc->clk);
tegra_dvfs_set_rate(dc->clk, 0);