drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel
authorPaul Cercueil <paul@crapouillou.net>
Thu, 16 Jul 2020 12:56:46 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 09:48:57 +0000 (11:48 +0200)
commitf8be691dbd88f4025087a23eac0e0ab621735fa7
tree6d91e28486002f9a250e1b9e6ee58270af516c2d
parentf04844351ce253f5886058ee12e5c23f5e0e8cc3
drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel

[ Upstream commit bad20a2dbfdfaf01560026909506b6ed69d65ba2 ]

The FRD350H54004 panel was marked as having active-high VSYNC and HSYNC
signals, which sorts-of worked, but resulted in the picture fading out
under certain circumstances.

Fix this issue by marking VSYNC and HSYNC signals active-low.

v2: Rebase on drm-misc-next

Fixes: 7b6bd8433609 ("drm/panel: simple: Add support for the Frida FRD350H54004 panel")
Cc: stable@vger.kernel.org # v5.5
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716125647.10964-1-paul@crapouillou.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panel/panel-simple.c