drm/tegra: Track HDMI enable state
authorThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2013 15:00:42 +0000 (16:00 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Dec 2013 08:29:55 +0000 (09:29 +0100)
commit365765fc293e68a1d2ce63811b80c5b3c33eebd1
tree566e75fc4d528d51e189d147807902149c9a6db2
parent17a8b6b03717fda28be73bc0d24a608a8339d646
drm/tegra: Track HDMI enable state

The DRM core doesn't track enable and disable state of encoders and/or
connectors, so calls to the output's .enable() and .disable() are not
guaranteed to be balanced. Track the enable state internally so that
calls to regulator and clock frameworks remain balanced.

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