mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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:
1 parent
5879f5710e
commit
cfe775ce62
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user