]> git.karo-electronics.de Git - linux-beck.git/commit
regmap: core: Cache all registers by default when cache is enabled
authorMark Brown <broonie@linaro.org>
Mon, 3 Jun 2013 16:24:08 +0000 (17:24 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Jun 2013 17:06:48 +0000 (18:06 +0100)
commitb92be6fecc9f1e8b927d99c12dad9f9dcd729727
tree2a17f17ab11dbd8ec38521cda8cc9f5d14394cda
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e
regmap: core: Cache all registers by default when cache is enabled

Currently all register maps with a cache need to provide a volatile
callback since the default is to assume all registers are volatile.
This is not sensible if we have a cache so change the default to be
fully cached if a cache is provided.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c