diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2021-10-19 16:45:09 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2021-10-21 23:36:29 +0200 |
commit | 840fe258332544aa7321921e1723d37b772af7a9 (patch) | |
tree | f95538c6157be36adfabb5592ff035b8d51f95b3 /Documentation | |
parent | 80f9eb70fd9276938f0a131f76d438021bfd8b34 (diff) | |
download | lwn-840fe258332544aa7321921e1723d37b772af7a9.tar.gz lwn-840fe258332544aa7321921e1723d37b772af7a9.zip |
auxdisplay: ht16k33: Fix frame buffer device blanking
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: 8992da44c6805d53 ("auxdisplay: ht16k33: Driver for LED controller")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions