From: Mark Brown Date: Thu, 23 Feb 2012 20:53:37 +0000 (+0000) Subject: regmap: Allow drivers to sync only part of the register cache X-Git-Tag: v3.4-rc1~126^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d4cfd1656b5f6c88eae51c40741a695b108b006;p=pandora-kernel.git regmap: Allow drivers to sync only part of the register cache Provide a regcache_sync_region() operation which allows drivers to write only part of the cache back to the hardware. This is intended for use in cases like power domains or DSP memories where part of the device register map may be reset without fully resetting the device. Fully supporting these devices is likely to require additional work to make specific regions of the register map cache only while they are in reset, but this is enough for most devices. Signed-off-by: Mark Brown --- Reading git-diff-tree failed