linux/drivers/auxdisplay
Geert Uytterhoeven be832f781d auxdisplay: ht16k33: Fix frame buffer device blanking
[ Upstream commit 840fe258332544aa7321921e1723d37b772af7a9 ]

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-17 09:48:45 +01:00
..
Kconfig It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
Makefile auxdisplay: deconfuse configuration 2019-03-17 08:48:33 +01:00
arm-charlcd.c auxdisplay: simplify getting .drvdata 2018-08-01 18:58:09 +02:00
cfag12864b.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
cfag12864bfb.c auxdisplay/cfag12864bfb.c: Convert to use vm_map_pages_zero() 2019-06-20 15:06:17 +02:00
charlcd.c auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay 2019-08-08 19:59:17 +02:00
charlcd.h auxdisplay: charlcd: add include guard to charlcd.h 2019-08-08 19:59:50 +02:00
hd44780.c auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay 2019-08-08 19:59:17 +02:00
ht16k33.c auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-17 09:48:45 +01:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string 2021-11-17 09:48:45 +01:00
ks0108.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
panel.c auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay 2019-08-08 19:59:17 +02:00