From: Jarkko Nikula Date: Tue, 16 Sep 2014 11:04:14 +0000 (+0300) Subject: regmap: cache: Do not fail silently from regcache_sync calls X-Git-Tag: fixes-for-v3.18-merge-window~32^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f29a43206ae1adfadbb344f5ef9bc200784f9d61;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed