-
由 Pavel Machek 提交于
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>
99f329a2