projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5879f57
)
mfd: Treat arizona register read errors as non-fatal during resume
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 5 Jul 2012 19:35:30 +0000
(20:35 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 8 Jul 2012 22:39:07 +0000
(
00:39
+0200)
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>
drivers/mfd/arizona-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/arizona-core.c
b/drivers/mfd/arizona-core.c
index e1308b5214ba264c3d1c705c8c08bc74ce67dfd9..03aef6750a9da5a961cb7f6492c7f1c6d3b0647a 100644
(file)
--- 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)
if (ret != 0) {
dev_err(arizona->dev, "Failed to read boot state: %d\n",
ret);
-
return ret
;
+
continue
;
}
if (reg & ARIZONA_BOOT_DONE_STS)