diff options
author | Raymond Hackley <[email protected]> | 2023-10-17 10:18:04 +0000 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2023-10-18 08:21:21 +0200 |
commit | 25e20eedc1d63dcdf6f781588e8dbc37cd0aad16 (patch) | |
tree | 658dfe44b17e78f46b7fe02e03cf3b0d63bdc85a | |
parent | ef399736c3ba77fb82d778b1b7285baa65a7e079 (diff) |
ARM: dts: samsung: exynos4412-midas: fix key-ok event code
Input event code 139 stands for KEY_MENU, instead of KEY_OK as node name
key-ok inplies. Fix it with correct event code 0x160.
Signed-off-by: Raymond Hackley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[krzysztof: use KEY_OK constant instead of raw value]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/samsung/exynos4412-midas.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi index 7daf25865551..2a67fcc07041 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi @@ -159,7 +159,7 @@ key-ok { gpios = <&gpx0 1 GPIO_ACTIVE_LOW>; - linux,code = <139>; + linux,code = <KEY_OK>; label = "ok"; debounce-interval = <10>; wakeup-source; |