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 <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
5879f5710e
commit
cfe775ce62
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ static int arizona_wait_for_boot(struct arizona *arizona)
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
dev_err(arizona->dev, "Failed to read boot state: %d\n",
|
dev_err(arizona->dev, "Failed to read boot state: %d\n",
|
||||||
ret);
|
ret);
|
||||||
return ret;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reg & ARIZONA_BOOT_DONE_STS)
|
if (reg & ARIZONA_BOOT_DONE_STS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue