Skip to content

Commit 25e20ee

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: 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]>
1 parent ef39973 commit 25e20ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/samsung/exynos4412-midas.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159

160160
key-ok {
161161
gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
162-
linux,code = <139>;
162+
linux,code = <KEY_OK>;
163163
label = "ok";
164164
debounce-interval = <10>;
165165
wakeup-source;

0 commit comments

Comments
 (0)