diff options
| author | 2012-04-30 21:25:05 +0100 | |
|---|---|---|
| committer | 2012-04-30 22:57:10 +0100 | |
| commit | f298536728d02c19f11bda8d712ff61d767bab32 (patch) | |
| tree | 7666d562d16a143a9549d0a6feb66b558e22fcbb /include | |
| parent | regmap: Use pad_bits and reg_bits when determining register format. (diff) | |
| download | linux-dev-f298536728d02c19f11bda8d712ff61d767bab32.tar.xz linux-dev-f298536728d02c19f11bda8d712ff61d767bab32.zip | |
regmap: Cache single values read from the chip
If we don't have a cached value for a register and we can cache it then
when we do a read a value we should add it to the cache to save rereading
it later on. Do this for single register reads, for block reads the code
would be a little more complex and this covers most practical usage.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
