]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/opensimpad-2.4.27-vrs1-pxa1-jpm1/simpad-pm-updates.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / opensimpad-2.4.27-vrs1-pxa1-jpm1 / simpad-pm-updates.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- linux-2.4.27/arch/arm/mach-sa1100/pm-sa1100.c~simpad-pm-updates
7 +++ linux-2.4.27/arch/arm/mach-sa1100/pm-sa1100.c
8 @@ -69,6 +69,7 @@
9         SLEEP_SAVE_ICMR,
10  #ifdef CONFIG_SA1100_SIMPAD
11         SLEEP_SAVE_MECR, /* needed by SIMpad to get PCMCIA working after resume */
12 +       SLEEP_SAVE_Ser4MCCR0, SLEEP_SAVE_Ser4MCSR, SLEEP_SAVE_Ser4MCCR1, /* touchscreen */
13  #endif
14         SLEEP_SAVE_Ser1SDCR0,
15  
16 @@ -113,6 +114,9 @@
17         SAVE(ICMR);
18  #ifdef CONFIG_SA1100_SIMPAD
19         SAVE(MECR);
20 +       SAVE(Ser4MCCR0);
21 +       SAVE(Ser4MCSR);
22 +       SAVE(Ser4MCCR1);
23  #endif
24          SAVE(PWER);
25          SAVE(MSC1);
26 @@ -194,6 +198,9 @@
27         RESTORE(ICMR);
28  #ifdef CONFIG_SA1100_SIMPAD
29         RESTORE(MECR);
30 +       RESTORE(Ser4MCCR0);
31 +       RESTORE(Ser4MCSR);
32 +       RESTORE(Ser4MCCR1);
33  #endif
34         RESTORE(PWER);
35         RESTORE(MSC1);