regmap: Support some block operations on cached devices
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Oct 2011 12:24:52 +0000 (13:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Oct 2011 10:41:54 +0000 (11:41 +0100)
commitde2d808f4de091321978d05a85ef0819e8f3561a
treed2b3d27de79f9cd7d7092a886c8a9479588a5428
parent8528bdd450d34687b380c0f87992d105bdf54ca3
regmap: Support some block operations on cached devices

Support raw reads if all the registers being read are volatile, the cache
will have no impact for tem.

Support bulk reads either directly (if all the registers are volatile) or
by falling back to iterating over single register reads otherwise.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c