tegra: dc: Unsetting DC to default mode in probe
Pankaj Dabade [Fri, 2 Jan 2015 05:56:08 +0000 (10:56 +0530)]
During probe, for L4t, monitor specs are read and set
before DC is enabled. DC will fall back to default mode
only when a invalid request is made by monitor.

Bug 200020671

Change-Id: Ic78dc9883813d1ca6623ccfde47f8a2bd493cf76
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/668839
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Jong Kim <jongk@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

drivers/video/tegra/dc/dc.c

index a1b74a8..986fabe 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2010 Google, Inc.
  * Author: Erik Gilling <konkers@android.com>
  *
- * Copyright (c) 2010-2014, NVIDIA CORPORATION, All rights reserved.
+ * Copyright (c) 2010-2015, NVIDIA CORPORATION, All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -3248,7 +3248,6 @@ static int tegra_dc_probe(struct platform_device *ndev)
                        udelay(10);
                        clk_disable_unprepare(dc->clk);
                }
-               _tegra_dc_set_default_videomode(dc);
                dc->enabled = _tegra_dc_enable(dc);
 
 #if !defined(CONFIG_ARCH_TEGRA_11x_SOC) && !defined(CONFIG_ARCH_TEGRA_14x_SOC)