tegra: dc: set HDMI clock to 0 if HDMI unplugged
authorXin Xie <xxie@nvidia.com>
Fri, 27 May 2011 22:58:08 +0000 (15:58 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:47:26 +0000 (21:47 -0800)
commit72e98607c86125951a7ff52bd9a5b88f9020e297
tree5f1d24ee45ea646ade078a5b78864bd082c23d9a
parentece493d6698b37e4e8960a00013ea3bc14ac0077
tegra: dc: set HDMI clock to 0 if HDMI unplugged

HDMI clock is not auto dvfs, so we need set the clock rate to 0 if HDMI
is disabled. Otherwise the Vdd core voltage will be always 1.2v even
after HDMI cable unplugged.

BUG: 828306
Reviewed-on: http://git-master/r/34379
(cherry picked from commit 58ddd144a6c2dd9bbc9d2f3c8b1e025364d88c22)

Original-Change-Id: I8b26702bc11321649f44b92d0968b3672d902304
Reviewed-on: http://git-master/r/37105
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

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