]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: otm8009a: Fix glitches by moving backlight enable to otm8009a_enable()
authorPhilippe CORNU <philippe.cornu@st.com>
Mon, 23 Apr 2018 14:10:51 +0000 (16:10 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 18 May 2018 09:22:06 +0000 (11:22 +0200)
commitdc2f090cb740580bafcb569b768a829b0bb3a73d
tree76f63c188c5a640ecc3edaeeaac670a65da6b83c
parent0f6866f1710ff1a94e20b65d3073839a5896e3cd
drm/panel: otm8009a: Fix glitches by moving backlight enable to otm8009a_enable()

The backlight 1st update was in the otm8009a_prepare() function for a
bad reason: backlight was not working in video mode and the
otm8009a_prepare() is in command mode for the init sequence. As the
backlight is now fixed (no low-power mode), it is good to put it back
in the otm8009a_enable() function, avoiding also image glitches visible
on some "slow" devices.

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423141054.13128-3-philippe.cornu@st.com
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c