commit | 0d43b3468871f5d5194edfe7052b6a49691eb6fd | [log] [tgz] |
---|---|---|
author | Matt Ranostay <mranostay@gmail.com> | Sat Feb 13 17:20:42 2016 -0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Feb 19 18:57:13 2016 +0000 |
tree | 4276b06fa10a6b7dddf40a2506fdd5bb7445d5d4 | |
parent | 3347a0656e7a83b959b1d0ad5396fb4f9c9b2a0e [diff] |
iio: chemical: atlas-ph-sensor: switch regmap cache switch from using REGCACHE_FLAT to REGCACHE_RBTREE so initial hw values are read from device. This also allows some volatile ranges to be dropped. Note that REGCACHE_FLAT is intended only for very low lag cases so doesn't do nice things like read initial values from the device. Hence this change. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>