linux-stable/drivers/auxdisplay
Geert Uytterhoeven 8ccaade05b 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 19:17:02 +01:00
..
arm-charlcd.c auxdisplay: Replace HTTP links with HTTPS ones 2020-08-08 16:10:03 +02:00
cfag12864b.c auxdisplay: Replace symbolic permissions with octal permissions 2021-07-16 07:42:35 +02:00
cfag12864bfb.c treewide: Miguel has moved 2021-02-26 09:41:03 -08:00
charlcd.c auxdisplay: charlcd: Drop unneeded initializers and switch to C99 style 2021-07-16 07:42:35 +02:00
charlcd.h auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
hd44780.c auxdisplay: hd44780: Fix oops on module unloading 2021-07-16 07:42:27 +02:00
hd44780_common.c auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
hd44780_common.h auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
ht16k33.c auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-18 19:17:02 +01:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string 2021-11-18 19:17:02 +01:00
Kconfig auxdisplay: Fix duplicate CHARLCD config symbol 2021-01-25 22:14:19 +01:00
ks0108.c auxdisplay: Replace symbolic permissions with octal permissions 2021-07-16 07:42:35 +02:00
lcd2s.c auxdisplay: fix platform_no_drv_owner.cocci warnings 2020-11-14 09:52:35 +01:00
Makefile auxdisplay: add a driver for lcd2s character display 2020-11-04 11:04:05 +01:00
panel.c treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00