video: tegra: dc: move set default videomode out of _tegra_dc_enable.
authorMarvin Zhang <mzhang@nvidia.com>
Fri, 3 Aug 2012 00:03:21 +0000 (17:03 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 31 Aug 2012 04:53:53 +0000 (09:53 +0530)
commit25004e57b1b8240d14dc589eeb985f5f743e27a0
tree76d4906db7cd92cffce9ba95a5c2d01c0d354831
parent19490d57e968db1a26a39c0ac25301c80c5c23de
video: tegra: dc: move set default videomode out of _tegra_dc_enable.

Set default videomode happens during probe and resume. _tegra_dc_enable
is also called during hotplug, setting default videomode there causes
hdcp test failure.

Bug 991805

Reviewed-on: http://git-master/r/121052
(cherry picked from commit 7d4e0461a88b8cf638963e69829274824fecc38b)
Change-Id: Ic71ca4df54a2c7f4a6cb2b56143cd86f718bd39e
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/121981
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/tegra/dc/dc.c