summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/dc')
-rw-r--r--drivers/video/tegra/dc/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 4621b7c..434a8b9 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1875,8 +1875,8 @@ static int tegra_dc_probe(struct nvhost_device *ndev,
mutex_lock(&dc->lock);
if (dc->pdata->flags & TEGRA_DC_FLAG_ENABLED) {
- dc->enabled = _tegra_dc_enable(dc);
_tegra_dc_set_default_videomode(dc);
+ dc->enabled = _tegra_dc_enable(dc);
}
mutex_unlock(&dc->lock);
@@ -2026,8 +2026,8 @@ static int tegra_dc_resume(struct nvhost_device *ndev)
dc->suspended = false;
if (dc->enabled) {
- _tegra_dc_enable(dc);
_tegra_dc_set_default_videomode(dc);
+ _tegra_dc_enable(dc);
}
if (dc->out && dc->out->hotplug_init)