regmap: Support raw reads from cached registers
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Feb 2012 19:12:47 +0000 (19:12 +0000)
committerSimone Willett <swillett@nvidia.com>
Sun, 15 Apr 2012 20:28:12 +0000 (13:28 -0700)
commit8f010007a636b19728dd504bdf986d13e416cc67
tree17d7135c53932b44ba65d003222a729731266872
parent4905e92c32deb4438361f3e52f3355aa877728ff
regmap: Support raw reads from cached registers

Fall back to a register by register read to do so; most likely we'll be
cache only so the overhead will be low.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit b8fb5ab156055b745254609f4635fcfd6b7dabc8)

Change-Id: I9f3b6011f4704987c5a014de8b30a2e6e3196d21
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/96482
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/base/regmap/regmap.c