Re: zaurus c3000 aka spitz: fix resume

From: Pavel Machek
Date: Mon Sep 07 2009 - 07:42:16 EST


Hi!

> > sharpsl_pm.c code tries to read battery state very early during
> > resume, but those battery meters are connected on SPI and that's only
> > resumed way later.
> >
> > Replace the check with simple checking of battery fatal signal, that
> > actually works at this stage.
>
> Tested on:
> - SL-C3200
> - snapshot e07cccf4046978df10f2e13fe2b99b2f9b3a65db
> - Reverted: 15bce40cb3133bcc07d548013df97e4653d363c1 (manual merge)
> - Applied your patch.
> - Config is here:
> http://www.penguin.cz/~utx/zaurus/feed/images/spitz/config-2.6.31-rc9-spitz
>
> Here is a big progress:
> - Zaurus goes from resume.

Ouch, it seems Eric Miao's emails are currently bouncing :-(.
Pavel
This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

ymiao3@xxxxxxxxxxx

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/