]> git.karo-electronics.de Git - karo-tx-linux.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)
commitccaddfe1a2e10f50aa6f553f9791c2724b6d3c4a
treeb882e56d3bc1a777d9785fe760e0789bc7cee8b2
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
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