From: Doug Anderson Date: Tue, 9 Sep 2014 23:06:04 +0000 (-0700) Subject: mfd: rk808: Add register caching X-Git-Tag: fixes-against-v3.18-rc2~69^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2adb3b8e6fa310d64ea6209f8ac5d5575839f6da;p=pandora-kernel.git mfd: rk808: Add register caching Let's define the voltatile registers (those that can't be cached) and enable caching. The rk808 is accessed almost constantly with cpufreq so this is really nice. As measured by ftrace: before this change: cpu0_set_target() => ~2200us after this change: cpu0_set_target() => ~500us Signed-off-by: Doug Anderson Reviewed-by: Chris Zhong Signed-off-by: Lee Jones --- Reading git-diff-tree failed