regmap: Return a sensible error code if we fail to read the cache
commit6e6ace00a045251bd172b9b9c2379857bbff3dc7
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Oct 2011 12:23:31 +0000 (9 13:23 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Oct 2011 09:24:03 +0000 (10 10:24 +0100)
tree63a4d6686b3955ca16e7727883445209de67074b
parentf094fea68f0575286c55c06141cc89ffd0049024
regmap: Return a sensible error code if we fail to read the cache

If a register isn't cached then let callers know that so they can fall
back or error handle appropriately.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
drivers/base/regmap/regcache-indexed.c
drivers/base/regmap/regcache-lzo.c
drivers/base/regmap/regcache-rbtree.c
drivers/base/regmap/regcache.c