From 91e51701b30a09790b1420a3a5298221e6eb4384 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 31 Dec 2011 16:25:21 +0100 Subject: Import patches from Jiri Pinkava --- linux/3.1.6/0001-n35-fix-key-codes.patch | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 linux/3.1.6/0001-n35-fix-key-codes.patch (limited to 'linux/3.1.6/0001-n35-fix-key-codes.patch') diff --git a/linux/3.1.6/0001-n35-fix-key-codes.patch b/linux/3.1.6/0001-n35-fix-key-codes.patch new file mode 100644 index 0000000..25cc732 --- /dev/null +++ b/linux/3.1.6/0001-n35-fix-key-codes.patch @@ -0,0 +1,42 @@ +From 3c43052284796659aeda8ae262d27525e7cdf948 Mon Sep 17 00:00:00 2001 +From: Jiri Pinkava +Date: Wed, 23 Jun 2010 20:33:53 +0200 +Subject: [PATCH 01/14] n35: fix key codes + + +Signed-off-by: Jiri Pinkava +--- + arch/arm/mach-s3c2410/mach-n30.c | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c +index 41f299d..e732619 100644 +--- a/arch/arm/mach-s3c2410/mach-n30.c ++++ b/arch/arm/mach-s3c2410/mach-n30.c +@@ -174,7 +174,6 @@ static struct gpio_keys_button n35_buttons[] = { + { + .gpio = S3C2410_GPF(0), + .code = KEY_POWER, +- .type = EV_PWR, + .desc = "Power", + .active_low = 0, + .wakeup = 1, +@@ -193,13 +192,13 @@ static struct gpio_keys_button n35_buttons[] = { + }, + { + .gpio = S3C2410_GPG(6), +- .code = KEY_DOWN, ++ .code = KEY_LEFT, + .desc = "Joystick Left", + .active_low = 0, + }, + { + .gpio = S3C2410_GPG(5), +- .code = KEY_DOWN, ++ .code = KEY_RIGHT, + .desc = "Joystick Right", + .active_low = 0, + }, +-- +1.7.3.1 + -- cgit v1.2.3