mfd: arizona: Check errors from regcache_sync()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Jan 2013 17:16:12 +0000 (17:16 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 22 Jan 2013 02:12:44 +0000 (03:12 +0100)
commit9270bdf5405668ca5d75ace1d7872e2762162c47
tree464604170247f7c12c9cb77b584ebdee3e29f004
parent1f0529b4d80ad02df637be67ed4f82e93b8db32f
mfd: arizona: Check errors from regcache_sync()

If the control bus is unrelabile we may hit errors during regcache_sync(),
especially given that it tends to be one the most dense bursts of I/O in
many systems.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/arizona-core.c