From: Mark Brown Date: Wed, 26 Oct 2011 08:34:22 +0000 (+0200) Subject: regmap: Track if the register cache is dirty and suppress unneeded syncs X-Git-Tag: v3.3-rc1~14^2~382^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae0d7e8a918e9603748abe9b31984fc5d96abb3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed