Re: zaurus c3000 aka spitz: fix resume

From: Dmitry Eremin-Solenikov
Date: Sun Sep 06 2009 - 14:05:46 EST


On Sun, Sep 06, 2009 at 07:28:40AM +0200, Pavel Machek wrote:
>
> 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.

Nice catch! Unfortunately I can't test the patch ATM, but it seems
resonable.

--
With best wishes
Dmitry

--
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/