mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.6.30 kernel for Zaurus
  2009-06-24 18:13 ` 2.6.30 kernel for Zaurus Pavel Machek
@ 2009-06-22 18:12   ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2009-06-22 18:12 UTC (permalink / raw)
  To: Vitaly Minko, kernel list, linux-arm-kernel

On Wed 2009-06-24 20:13:24, Pavel Machek wrote:
> 
> On Wed 2009-06-24 17:19:19, Vitaly Minko wrote:
> > Hi Pavel,
> >
> > I want to upgrade my kernel on Zaurus C1000 to the latest stable version.
> > Do I need any additional patches besides your suspend-related one that  
> > you posted here:
> > http://patchwork.kernel.org/patch/26927/
> 
> Well, you'll also need to disable offline charging, and I only tested
> it on spitz.

Try this...

diff -ur arm.ofic/common/sharpsl_pm.c arm/common/sharpsl_pm.c
--- arm.ofic/common/sharpsl_pm.c	2009-05-29 01:10:31.000000000 +0200
+++ arm/common/sharpsl_pm.c	2009-06-01 12:01:35.000000000 +0200
@@ -12,7 +12,7 @@
  *
  */
 
-#undef DEBUG
+#define DEBUG
 
 #include <linux/module.h>
 #include <linux/timer.h>
@@ -546,6 +546,9 @@
 
 static int corgi_enter_suspend(unsigned long alarm_time, unsigned int alarm_enable, suspend_state_t state)
 {
+
+  return 0;
+
 	if (!sharpsl_pm.machinfo->should_wakeup(!(sharpsl_pm.flags & SHARPSL_ALARM_ACTIVE) && alarm_enable) )
 	{
 		if (!(sharpsl_pm.flags & SHARPSL_ALARM_ACTIVE)) {
diff -ur arm.ofic/mach-pxa/spitz_pm.c arm/mach-pxa/spitz_pm.c
--- arm.ofic/mach-pxa/spitz_pm.c	2009-05-29 01:11:02.000000000 +0200
+++ arm/mach-pxa/spitz_pm.c	2009-05-28 23:28:30.000000000 +0200
@@ -124,6 +124,7 @@
 	int is_resume = 0;
 	int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN);
 
+#if 0
 	if (spitz_last_ac_status != acin) {
 		if (acin) {
 			/* charge on */
@@ -141,6 +142,8 @@
 		return 0;
 	}
 
+#endif
+
 	if (PEDR & GPIO_bit(SPITZ_GPIO_KEY_INT))
 		is_resume |= GPIO_bit(SPITZ_GPIO_KEY_INT);
 


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.30 kernel for Zaurus
       [not found] <4A4227D7.4050900@gmail.com>
@ 2009-06-24 18:13 ` Pavel Machek
  2009-06-22 18:12   ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2009-06-24 18:13 UTC (permalink / raw)
  To: Vitaly Minko, kernel list, linux-arm-kernel


On Wed 2009-06-24 17:19:19, Vitaly Minko wrote:
> Hi Pavel,
>
> I want to upgrade my kernel on Zaurus C1000 to the latest stable version.
> Do I need any additional patches besides your suspend-related one that  
> you posted here:
> http://patchwork.kernel.org/patch/26927/

Well, you'll also need to disable offline charging, and I only tested
it on spitz.
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-24 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4A4227D7.4050900@gmail.com>
2009-06-24 18:13 ` 2.6.30 kernel for Zaurus Pavel Machek
2009-06-22 18:12   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®