Skip to content

Commit

Permalink
ARM: dts: samsung: exynos4412-midas: fix key-ok event code
Browse files Browse the repository at this point in the history
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 <raymondhackley@protonmail.com>
Link: https://lore.kernel.org/r/20231017101636.62755-1-raymondhackley@protonmail.com
[krzysztof: use KEY_OK constant instead of raw value]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
  • Loading branch information
Raymond Hackley authored and Krzysztof Kozlowski committed Oct 18, 2023
1 parent ef39973 commit 25e20ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/samsung/exynos4412-midas.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 25e20ee

Please sign in to comment.