Home
last modified time | relevance | path

Searched hist:"83 f8475ce99fa1c44b03059b6cc5dcaae69b4819" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/base/regmap/
H A Dregcache.cdiff 83f8475ce99fa1c44b03059b6cc5dcaae69b4819 Tue Mar 18 15:45:09 CDT 2014 Dylan Reid <dgreid@chromium.org> regmap: cache: Don't attempt to sync non-writeable registers

In the regcache_default_sync, if a register isn't writeable, then
_regmap_write will return an error and the rest of the sync will be
aborted. Avoid this by checking if a register is writeable before
trying to sync it.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@linaro.org>