pmaports/device/community/linux-postmarketos-omap/0009-n900-dts-volume-keys.patch
Sicelo A. Mhlongo 62d4d0c62a
linux-postmarketos-omap: Fix volume keys on N900 (MR 4228)
The N900 volume keys were configured to produce F7 and F8 in Maemo Fremantle.
Set them to normal volume keys to restore expected behavior

[ci:skip-build]: Already built successfully in CI
2023-07-05 21:51:08 +02:00

27 lines
804 B
Diff

From f7c6e2b20191c4c146ebe47e31a1300f03f71a74 Mon Sep 17 00:00:00 2001
From: "Sicelo A. Mhlongo" <absicsz@gmail.com>
Date: Sat, 24 Jun 2023 22:58:57 +0200
Subject: [PATCH 1/2] n900: dts: volume keys
---
arch/arm/boot/dts/omap3-n900.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index f9f9eca0c56c..a7b00122fa66 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -563,8 +563,8 @@ MATRIX_KEY(0x05, 0x08, KEY_F11)
MATRIX_KEY(0x06, 0x00, KEY_U)
MATRIX_KEY(0x07, 0x00, KEY_I)
- MATRIX_KEY(0x07, 0x01, KEY_F7)
- MATRIX_KEY(0x07, 0x02, KEY_F8)
+ MATRIX_KEY(0x07, 0x01, KEY_VOLUMEUP)
+ MATRIX_KEY(0x07, 0x02, KEY_VOLUMEDOWN)
>;
};
--
2.40.1