summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tegra/dc/dc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index f39fb40e3ccd..4549670fdff5 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1044,7 +1044,6 @@ static bool _tegra_dc_enable(struct tegra_dc *dc)
dc->out->enable();
tegra_dc_setup_clk(dc, dc->clk);
- tegra_periph_reset_assert(dc->clk);
clk_enable(dc->clk);
clk_enable(dc->emc_clk);
tegra_periph_reset_deassert(dc->clk);
@@ -1122,6 +1121,10 @@ static void tegra_dc_reset_worker(struct work_struct *work)
if (dc->enabled && !dc->suspended) {
_tegra_dc_disable(dc);
+ /* A necessary wait. */
+ msleep(100);
+ tegra_periph_reset_assert(dc->clk);
+
/* _tegra_dc_enable deasserts reset */
_tegra_dc_enable(dc);
}