]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: rockchip: Fix cover detection on PineNote
authorDiederik de Haas <didi.debian@cknow.org>
Mon, 26 May 2025 16:14:47 +0000 (18:14 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 9 Jun 2025 09:13:49 +0000 (11:13 +0200)
commit3f391123e2bc88c570f148cc01e923e4740c5173
tree57fe22ec42ec99c9d9711f984efd5a658ac9c846
parente0d47ff478fa549aeb168d921b66011f0397007d
arm64: dts: rockchip: Fix cover detection on PineNote

The SW_MACHINE_COVER switch event was added to input event codes to
detect the removal of the back cover of the N900.
But on the PineNote its purpose is to detect when the front cover gets
closed, just like when a laptop lid is closed. Therefore SW_LID is the
appropriate linux code and not SW_MACHINE_COVER.

Reported-by: hrdl <git@hrdl.eu>
Helped-by: phantomas <phantomas@phantomas.xyz>
Link: https://lore.kernel.org/r/270f27c9-afd6-171d-7dce-fe1d71dd8f9a@wizzup.org/
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20250526161506.139028-1-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi