]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c9644185255ed25227de488ade424d62df05818
tree95def35ae0da1bd3d86e9dfbdb241d21608bb26d
parentaa750da63789f236c66c951150dfa8874d3314ee
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