drm: sun4i: hdmi: Fix inverted HPD result
authorChen-Yu Tsai <wens@csie.org>
Sat, 11 Jul 2020 01:10:30 +0000 (09:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:43 +0000 (10:19 +0200)
commitca9e42f0d9e716dd614c5e990f91b6509fbcdcbc
treefade3820aa5bfdfdc089ee9b6db6101a4a9685ce
parent60aae71c7636290c9993d1190802b812616eaff4
drm: sun4i: hdmi: Fix inverted HPD result

[ Upstream commit baa1841eb797eadce6c907bdaed7cd6f01815404 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c