summaryrefslogtreecommitdiff
path: root/recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch')
-rw-r--r--recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch b/recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch
new file mode 100644
index 0000000000..938c34c67a
--- /dev/null
+++ b/recipes/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-pm-updates.patch
@@ -0,0 +1,47 @@
+--- arch/arm/mach-sa1100/pm-sa1100.c 2004-07-14 01:21:38.000000000 +0200
++++ /home/fuchs/Projekte/simpad/kernel/linux-2.4.25/arch/arm/mach-sa1100/pm-sa1100.c 2004-07-22 00:41:57.000000000 +0200
+@@ -69,6 +69,7 @@
+ SLEEP_SAVE_ICMR,
+ #ifdef CONFIG_SA1100_SIMPAD
+ SLEEP_SAVE_MECR, /* needed by SIMpad to get PCMCIA working after resume */
++ SLEEP_SAVE_Ser4MCCR0, SLEEP_SAVE_Ser4MCSR, SLEEP_SAVE_Ser4MCCR1, /* touchscreen */
+ #endif
+ SLEEP_SAVE_Ser1SDCR0,
+
+@@ -82,7 +83,7 @@
+ int pm_do_suspend(void)
+ {
+ unsigned long sleep_save[SLEEP_SAVE_SIZE];
+-
++
+ cli();
+
+ leds_event(led_stop);
+@@ -113,10 +114,13 @@
+ SAVE(ICMR);
+ #ifdef CONFIG_SA1100_SIMPAD
+ SAVE(MECR);
+-#endif
+- SAVE(PWER);
+- SAVE(MSC1);
+- SAVE(MSC2);
++ SAVE(Ser4MCCR0);
++ SAVE(Ser4MCSR);
++ SAVE(Ser4MCCR1);
++#endif
++ SAVE(PWER);
++ SAVE(MSC1);
++ SAVE(MSC2);
+
+ /* ... maybe a global variable initialized by arch code to set this? */
+ GRER &= PWER;
+@@ -194,6 +198,9 @@
+ RESTORE(ICMR);
+ #ifdef CONFIG_SA1100_SIMPAD
+ RESTORE(MECR);
++ RESTORE(Ser4MCCR0);
++ RESTORE(Ser4MCSR);
++ RESTORE(Ser4MCCR1);
+ #endif
+ RESTORE(PWER);
+ RESTORE(MSC1);