diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-07-15 12:28:08 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-07-29 00:46:18 +0300 |
commit | 7835ed6a9e868376c3d7758d017fcfb34e35b8bc (patch) | |
tree | c7002c39af56665404f6ea289d3e1697e68e5248 /drivers/gpu/drm/ingenic | |
parent | 28be2405fb753927e18bc1a891617a430b2a0684 (diff) | |
download | linux-7835ed6a9e868376c3d7758d017fcfb34e35b8bc.tar.xz |
drm/panel-sony-acx424akp: Modernize backlight handling
This converts the internal backlight in the Sony ACX424AKP
driver to do it the canonical way:
- Assign the panel->backlight during probe.
- Let the panel framework handle the backlight.
- Make the backlight .set_brightness() turn the backlight
off completely if blank.
- Fix some dev_err_probe() use cases along the way.
Tested on the U8500 HREF520 reference design.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210715092808.1100106-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/ingenic')
0 files changed, 0 insertions, 0 deletions