mfd: Treat arizona register read errors as non-fatal during resume

We're testing for a specific value and while SPI does not detect I/O
errors I2C can.

Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
Mark Brown authored and Samuel Ortiz committed 2012-07-09 00:39:07 +02:00
1 parent 5879f5710e
commit cfe775ce62
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ static int arizona_wait_for_boot(struct arizona *arizona)
if (ret != 0) {
dev_err(arizona->dev, "Failed to read boot state: %d\n",
ret);
return ret;
continue;
}
if (reg & ARIZONA_BOOT_DONE_STS)