Skip to content
Commit f2985367 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent d939fb9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment