android_kernel_motorola_sm6375/drivers/auxdisplay
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Suggested-by: Robin van der Gracht <[email protected]>
Fixes: 8992da44c6 ("auxdisplay: ht16k33: Driver for LED controller")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-11-17 09:48:45 +01:00
..
arm-charlcd.c
cfag12864b.c
cfag12864bfb.c
charlcd.c
charlcd.h
hd44780.c
ht16k33.c auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-17 09:48:45 +01:00
img-ascii-lcd.c
Kconfig
ks0108.c
Makefile
panel.c