linux-stable/drivers/auxdisplay
Geert Uytterhoeven 4c77428494 auxdisplay: ht16k33: Fix frame buffer device blanking
[ Upstream commit 840fe25833 ]

As the ht16k33 frame buffer sub-driver does not register an
fb_ops.fb_blank() handler, blanking does not work:

    $ echo 1 > /sys/class/graphics/fb0/blank
    sh: write error: Invalid argument

Fix this by providing a handler that always returns zero, to make sure
blank events will be sent to the actual device handling the backlight.

Reported-by: Robin van der Gracht <robin@protonic.nl>
Suggested-by: Robin van der Gracht <robin@protonic.nl>
Fixes: 8992da44c6 ("auxdisplay: ht16k33: Driver for LED controller")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:40:35 +01:00
..
Kconfig auxdisplay: fix broken menu 2018-07-03 11:24:56 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
arm-charlcd.c
cfag12864b.c
cfag12864bfb.c
charlcd.c auxdisplay: charlcd: properly restore atomic counter on error path 2017-09-18 16:06:00 +02:00
hd44780.c auxdisplay: hd44780: Fix memory leak on ->remove() 2019-04-20 09:15:00 +02:00
ht16k33.c auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-26 11:40:35 +01:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string 2021-11-26 11:40:35 +01:00
ks0108.c
panel.c auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach 2019-09-06 10:20:43 +02:00