Changeset 4090


Ignore:
Timestamp:
02/21/08 05:16:03 (5 years ago)
Author:
werner
Message:

Second part of suspend-prelim2.bin by Matt Hsu:

Remove AUX key as wake up source [so that we can resume even if the
NOR has no valid content].

gta01-inputdevice.patch:

  • drivers/input/keyboard/neo1973kbd.c (neo1973kbd_probe): add AUX as a wakeup interrupt source only if on GTA01
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/src/target/kernel/2.6.24.x/patches/gta01-inputdevice.patch

    r3682 r4090  
    33Signed-off-by: Harald Welte <laforge@openmoko.org> 
    44 
    5 Index: linux-2.6/drivers/input/keyboard/Kconfig 
     5Index: linux-2.6.24/drivers/input/keyboard/Kconfig 
    66=================================================================== 
    7 --- linux-2.6.orig/drivers/input/keyboard/Kconfig 
    8 +++ linux-2.6/drivers/input/keyboard/Kconfig 
    9 @@ -293,4 +293,16 @@ 
     7--- linux-2.6.24.orig/drivers/input/keyboard/Kconfig 
     8+++ linux-2.6.24/drivers/input/keyboard/Kconfig 
     9@@ -293,4 +293,16 @@ config KEYBOARD_BFIN 
    1010          To compile this driver as a module, choose M here: the 
    1111          module will be called bf54x-keys. 
     
    2424+ 
    2525 endif 
    26 Index: linux-2.6/drivers/input/keyboard/Makefile 
     26Index: linux-2.6.24/drivers/input/keyboard/Makefile 
    2727=================================================================== 
    28 --- linux-2.6.orig/drivers/input/keyboard/Makefile 
    29 +++ linux-2.6/drivers/input/keyboard/Makefile 
    30 @@ -14,6 +14,7 @@ 
     28--- linux-2.6.24.orig/drivers/input/keyboard/Makefile 
     29+++ linux-2.6.24/drivers/input/keyboard/Makefile 
     30@@ -14,6 +14,7 @@ obj-$(CONFIG_KEYBOARD_LOCOMO)         += locomo 
    3131 obj-$(CONFIG_KEYBOARD_NEWTON)          += newtonkbd.o 
    3232 obj-$(CONFIG_KEYBOARD_STOWAWAY)                += stowaway.o 
     
    3636 obj-$(CONFIG_KEYBOARD_HIL)             += hil_kbd.o 
    3737 obj-$(CONFIG_KEYBOARD_HIL_OLD)         += hilkbd.o 
    38 Index: linux-2.6/drivers/input/keyboard/neo1973kbd.c 
     38Index: linux-2.6.24/drivers/input/keyboard/neo1973kbd.c 
    3939=================================================================== 
    4040--- /dev/null 
    41 +++ linux-2.6/drivers/input/keyboard/neo1973kbd.c 
    42 @@ -0,0 +1,236 @@ 
     41+++ linux-2.6.24/drivers/input/keyboard/neo1973kbd.c 
     42@@ -0,0 +1,239 @@ 
    4343+/* 
    4444+ * Keyboard driver for FIC Neo1973 GSM phone 
     
    6767+#include <asm/hardware.h> 
    6868+#include <asm/arch/gta01.h> 
     69+#include <asm/mach-types.h> 
    6970+ 
    7071+struct neo1973kbd { 
     
    201202+               goto out_aux; 
    202203+       } 
    203 +       enable_irq_wake(irq_aux); 
     204+ 
     205+       if (machine_is_neo1973_gta01()) 
     206+               enable_irq_wake(irq_aux); 
    204207+ 
    205208+       if (request_irq(irq_hold, neo1973kbd_hold_irq, IRQF_DISABLED | 
Note: See TracChangeset for help on using the changeset viewer.