]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hdmi: Enable VDD earlier for hotplug/DDC
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 28 Aug 2013 15:48:39 +0000 (18:48 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:44 +0000 (09:55 +0100)
commit90e2f2ab112db039f390703bc459ab2f21d7bf5f
tree526fc40d6b47ba94c939821bd0f2e445122395aa
parent65d64392fdb98782ff87a7c7055845c7e98a6465
drm/tegra: hdmi: Enable VDD earlier for hotplug/DDC

The VDD regulator used to be enabled only at tegra_output_hdmi_enable,
which is called after a sink is detected. However, the HDMI hotplug pin
works by returning the voltage supplied by the VDD pin, so this meant
that the hotplug pin was never asserted and the sink was not detected
unless the VDD regulator was set to be always on.

This patch moves the enable to the tegra_hdmi_init() function to make
sure the regulator will get enabled and therefore ensure proper hotplug
detection.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c