commit | 8ae0d7e8a918e9603748abe9b31984fc5d96abb3 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Oct 26 10:34:22 2011 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Nov 08 11:38:15 2011 +0000 |
tree | 329564b9bdc3cac89a3ac1586c9e5812ab21bf1c | |
parent | 1ea6b8f48918282bdca0b32a34095504ee65bab5 [diff] |
regmap: Track if the register cache is dirty and suppress unneeded syncs Allow drivers to optimise out the register cache sync if they didn't need to do one. If the hardware is desynced from the register cache (by power loss for example) then the driver should call regcache_mark_dirty() to let the core know about this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>