regmap: Allow rbtree to cache zero default values
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Oct 2011 13:30:02 +0000 (14:30 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Oct 2011 09:25:00 +0000 (10:25 +0100)
commite42c5a9a4230c38ceba0a890b30a2d0dd9314bff
tree19fc12b745f2ff91a6a9dc29b6c2a3f5ffde1b99
parent04e016adcae28b65ddc9e756947fa1526a51c0b5
regmap: Allow rbtree to cache zero default values

Ensure that when we start up in cache only mode we can store defaults of
zero, otherwise if the hardware is unavailable we won't be able to read.

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