[ARM] pxa/sharpsl_pm: zaurus c3000 aka spitz: fix resume
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. Signed-off-by: NPavel Machek <pavel@ucw.cz> Tested-by: NStanislav Brabec <utx@penguin.cz> Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
Showing
想要评论请 注册 或 登录