diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-05 15:35:30 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-08 18:39:07 -0400 |
commit | cfe775ce62d83168125299714739aebc1018211e (patch) | |
tree | df4bc25d18a45f9a69c38b5a68b150091ba7abff | |
parent | 5879f5710e684af662635770561112ce3f25ea8c (diff) |
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>
-rw-r--r-- | drivers/mfd/arizona-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index e1308b5214ba..03aef6750a9d 100644 --- a/drivers/mfd/arizona-core.c +++ b/drivers/mfd/arizona-core.c | |||
@@ -197,7 +197,7 @@ static int arizona_wait_for_boot(struct arizona *arizona) | |||
197 | if (ret != 0) { | 197 | if (ret != 0) { |
198 | dev_err(arizona->dev, "Failed to read boot state: %d\n", | 198 | dev_err(arizona->dev, "Failed to read boot state: %d\n", |
199 | ret); | 199 | ret); |
200 | return ret; | 200 | continue; |
201 | } | 201 | } |
202 | 202 | ||
203 | if (reg & ARIZONA_BOOT_DONE_STS) | 203 | if (reg & ARIZONA_BOOT_DONE_STS) |