imx-drm: fix hdmi hotplug detection initial state
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Apr 2014 09:46:45 +0000 (10:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 23:13:56 +0000 (16:13 -0700)
commit98dbeadaf050335df8655d8d9be7a324b6cd896e
tree95def35ae0da1bd3d86e9dfbdb241d21608bb26d
parent60d857bffcac67c77a33c06d8dfe405f3a293d2b
imx-drm: fix hdmi hotplug detection initial state

The initial state at boot is assumed to be disconnected, and we hope
to receive an interrupt to update the status.  Let's be more explicit
about the current state - reading the PHY status register tells us
the current level of the hotplug signal, which we can report back in
the _detect() method.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-hdmi.c