diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-09-16 14:04:14 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-16 09:53:40 -0700 |
commit | f29a43206ae1adfadbb344f5ef9bc200784f9d61 (patch) | |
tree | 4bac109bdbad260dd324a4d70cff6214a3c8cd0b /fs/btrfs | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
regmap: cache: Do not fail silently from regcache_sync calls
Call stack of regcache_sync calls may not emit any error message even if
operation was cancelled due an error in I/O driver. One such a silent error
is for instance if I2C bus driver doesn't receive ACK from the I2C device
and returns -EREMOTEIO.
Since many users of regcache_sync() don't check and print the error there is
no any indication that HW registers are potentially out of sync.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions