summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-14 15:52:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-14 15:52:42 +0000
commit16defbb2bd9478f9e5384b9722f20a694e6bae41 (patch)
treef52e202c30c7fca103b196ece1223e18446e4dfc /target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch
parentb4644aedce6526b5d07b336187c8e6417c7dd75e (diff)
downloadmtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.zip
mtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.gz
mtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.bz2
nuke obsolete kernel stuff
SVN-Revision: 14875
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch
deleted file mode 100644
index 57704bd..0000000
--- a/target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From bb7abab607e71a3cc1e8a4ebfa7619d872827353 Mon Sep 17 00:00:00 2001
-From: Sean McNeil <sean@mcneil.com>
-Date: Thu, 8 May 2008 09:24:45 +0100
-Subject: [PATCH] fix-KEY_PHONE-up-down-inversion.patch
-
-the KEY_PHONE is backwards. It returns up when pushed and down when
-released. The following change fixes it:
-
-Signed-off-by: Sean McNeil <sean@mcneil.com>
----
- drivers/input/keyboard/neo1973kbd.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/drivers/input/keyboard/neo1973kbd.c b/drivers/input/keyboard/neo1973kbd.c
-index 8b9a420..868d0a7 100644
---- a/drivers/input/keyboard/neo1973kbd.c
-+++ b/drivers/input/keyboard/neo1973kbd.c
-@@ -40,7 +40,7 @@ static irqreturn_t neo1973kbd_aux_irq(int irq, void *dev_id)
- {
- struct neo1973kbd *neo1973kbd_data = dev_id;
-
-- int key_pressed = !gpio_get_value(irq_to_gpio(irq));
-+ int key_pressed = !!gpio_get_value(irq_to_gpio(irq));
- input_report_key(neo1973kbd_data->input, KEY_PHONE, key_pressed);
- input_sync(neo1973kbd_data->input);
-
---
-1.5.6.5
-