diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-31 18:25:11 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-31 18:25:11 (GMT) |
commit | 4ff4eb9e8c535f67ad2c1adc6c168ece1fb763bc (patch) | |
tree | 34a9a67dc8d427959e649cebbab9bee7ddef2d1b /drivers/base/regmap/internal.h | |
parent | 26ee47411ae22caa07d3f3b63ca6d097cba6681b (diff) | |
parent | 515f2261703d09c6b647a5687b7d657dd5911065 (diff) | |
download | linux-fsl-qoriq-4ff4eb9e8c535f67ad2c1adc6c168ece1fb763bc.tar.xz |
Merge remote-tracking branch 'regmap/topic/cache' into regmap-next
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r-- | drivers/base/regmap/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 29c8316..5308e3e 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h @@ -223,7 +223,7 @@ int regcache_set_reg_present(struct regmap *map, unsigned int reg); static inline bool regcache_reg_present(struct regmap *map, unsigned int reg) { if (!map->cache_present) - return true; + return false; if (reg > map->cache_present_nbits) return false; return map->cache_present[BIT_WORD(reg)] & BIT_MASK(reg); |