Skip to content

Commit

Permalink
mfd: Treat arizona register read errors as non-fatal during resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jul 8, 2012
1 parent 5879f57 commit cfe775c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/arizona-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfe775c

Please sign in to comment.