linux-stable/drivers/auxdisplay
Geert Uytterhoeven 6caab6c96b 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-18 14:04:24 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
arm-charlcd.c auxdisplay: Replace HTTP links with HTTPS ones 2020-08-08 16:10:03 +02:00
cfag12864b.c
cfag12864bfb.c auxdisplay: constify fb ops 2019-12-11 12:31:39 +02:00
charlcd.c auxdisplay: charlcd: Reuse hex_to_bin() instead of custom code 2020-05-29 23:33:50 +02:00
charlcd.h auxdisplay: charlcd: add include guard to charlcd.h 2019-08-08 19:59:50 +02:00
hd44780.c
ht16k33.c auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-18 14:04:24 +01:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string 2021-11-18 14:04:24 +01:00
ks0108.c
panel.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00