]> git.ipfire.org Git - thirdparty/linux.git/commit
pwm-backlight: Enable/disable the PWM before/after LCD enable toggle.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 28 Mar 2018 17:03:23 +0000 (19:03 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 30 Apr 2018 09:50:43 +0000 (10:50 +0100)
commit5fb5caee92ba35a4a3baa61d45a78eb057e2c031
tree43372871bc81aa0d450b304c9ee2c1864c3dee84
parentdda6fde88424f1d9cad3b270b305beee2e035716
pwm-backlight: Enable/disable the PWM before/after LCD enable toggle.

Before this patch the enable signal was set before the PWM signal and
vice-versa on power off. This sequence is wrong, at least, it is on
the different panels datasheets that I checked, so I inverted the sequence
to follow the specs.

For reference the following panels have the mentioned sequence:
  - N133HSE-EA1 (Innolux)
  - N116BGE (Innolux)
  - N156BGE-L21 (Innolux)
  - B101EAN0 (Auo)
  - B101AW03 (Auo)
  - LTN101NT05 (Samsung)
  - CLAA101WA01A (Chunghwa)

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/pwm_bl.c