]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hdmi: Make sure clock is enabled before dumping registers
authorMikko Perttunen <mperttunen@nvidia.com>
Tue, 30 Jul 2013 08:35:03 +0000 (11:35 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Aug 2013 08:19:39 +0000 (10:19 +0200)
commit442c9384951d762a32700f7f5fdc0f617a275e25
treeb882e56d3bc1a777d9785fe760e0789bc7cee8b2
parenta3079e9139cd68a2ce172277272f72e0aa13bdb1
drm/tegra: hdmi: Make sure clock is enabled before dumping registers

The debugfs register dumping function did not enable the HDMI clock.
This led to a possible system hang when reading the debugfs entry
while no HDMI cable was connected to the system. This patch makes
sure that the clock is enabled during the read.

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