Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1ea6b8f4
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