diff options
author | Xin Xie <xxie@nvidia.com> | 2011-10-07 17:13:37 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2011-10-11 17:04:14 -0700 |
commit | f3d3bbd36480f7a79a2a6eb823c35c5cb7ed8364 (patch) | |
tree | f1655ffabe0fcd161c31cceeb88b8f15d38ecca7 | |
parent | e7f7abc919b18b3630aec33115be717f3c5597a8 (diff) |
video: tegra: dc: enable IRQ after IRQ configured
Enable DC IRQ only after IRQ is configured to avoid the IRQ flooding.
Change-Id: Ib0366999feffee6d2d79951ceb4f120e5951dd07
Reviewed-on: http://git-master/r/56819
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
-rw-r--r-- | drivers/video/tegra/dc/dc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c index 3e5e0b386918..3f6da7429429 100644 --- a/drivers/video/tegra/dc/dc.c +++ b/drivers/video/tegra/dc/dc.c @@ -2208,10 +2208,11 @@ static bool _tegra_dc_controller_enable(struct tegra_dc *dc) tegra_dc_setup_clk(dc, dc->clk); clk_enable(dc->clk); clk_enable(dc->emc_clk); - enable_dc_irq(dc->irq); tegra_dc_init(dc); + enable_dc_irq(dc->irq); + if (dc->out_ops && dc->out_ops->enable) dc->out_ops->enable(dc); |