Commit 25e20eed authored by Raymond Hackley's avatar Raymond Hackley Committed by Krzysztof Kozlowski
Browse files

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: default avatarRaymond 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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent ef399736
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ key-power {

		key-ok {
			gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
			linux,code = <139>;
			linux,code = <KEY_OK>;
			label = "ok";
			debounce-interval = <10>;
			wakeup-source;