ARM: tegra: dc: lower hdmi clock before set rate
authorJon Mayo <jmayo@nvidia.com>
Sat, 14 May 2011 00:28:58 +0000 (17:28 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:45:02 +0000 (21:45 -0800)
commit3d35ef0a95320a19694a900e3ec99092d2db7a84
treeb57e78871c5a152279617e926e21ca6a95454ffe
parent87de6935a3764a98504a54ebdb2468370fa902a8
ARM: tegra: dc: lower hdmi clock before set rate

choose a higher clock divider on hdmi before switching clock parents.
This prevents hdmi from exceeding its DVFS clock limits.

Original-Change-Id: I09c23498bf6450cf19e91accb788715582c3befb
Reviewed-on: http://git-master/r/31605
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: Red51c8e99dcc60fe4cda52efba77e1182e89e3b5
drivers/video/tegra/dc/hdmi.c