Go to file
Geert Uytterhoeven 6caab6c96b 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-18 14:04:24 +01:00
arch mips: cm: Convert to bitfield API to fix out-of-bounds access 2021-11-18 14:04:21 +01:00
block
certs
crypto
Documentation
drivers auxdisplay: ht16k33: Fix frame buffer device blanking 2021-11-18 14:04:24 +01:00
fs Fix user namespace leak 2021-11-18 14:04:23 +01:00
include NFS: Fix up commit deadlocks 2021-11-18 14:04:23 +01:00
init
ipc
kernel
lib
LICENSES
mm
net nfsd: don't alloc under spinlock in rpc_parse_scope_id 2021-11-18 14:04:22 +01:00
samples
scripts
security apparmor: fix error check 2021-11-18 14:04:22 +01:00
sound ASoC: cs42l42: Correct configuring of switch inversion from ts-inv 2021-11-18 14:04:21 +01:00
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.