drm: sun4i: hdmi: Fix inverted HPD result
authorChen-Yu Tsai <wens@csie.org>
Sat, 11 Jul 2020 01:10:30 +0000 (09:10 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 17 Jul 2020 12:03:59 +0000 (14:03 +0200)
commitbaa1841eb797eadce6c907bdaed7cd6f01815404
tree8d1f045c0cf0e397730efb6d3f7282054f6f327f
parent6348dd291e3653534a9e28e6917569bc9967b35b
drm: sun4i: hdmi: Fix inverted HPD result

When the extra HPD polling in sun4i_hdmi was removed, the result of
HPD was accidentally inverted.

Fix this by inverting the check.

Fixes: bda8eaa6dee7 ("drm: sun4i: hdmi: Remove extra HPD polling")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200711011030.21997-1-wens@kernel.org
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c