regcache: Make sure we sync register 0 in an rbtree cache
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Mar 2012 23:31:39 +0000 (23:31 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Mar 2012 23:48:50 +0000 (23:48 +0000)
commit994f5db65ef4b83db0321842bd43c6bc0a51f000
tree633121617abdf0799462b87ed19dd4cc7b2f2f56
parent19694b5ea1d3a723dafe9544b5ee9a935414dc28
regcache: Make sure we sync register 0 in an rbtree cache

Most of the current users have register 0 as a volatile register or don't
have a register 0 so it's not been apparent that it's not getting synced.

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