From: Ulf Hansson Date: Wed, 18 Jan 2012 08:17:27 +0000 (+0100) Subject: ARM: 7280/1: mmc: mmci: Cache MMCICLOCK and MMCIPOWER register X-Git-Tag: v3.4-rc1~104^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7437cfa532842ce75189826742bddf1ba137f58e;p=pandora-kernel.git ARM: 7280/1: mmc: mmci: Cache MMCICLOCK and MMCIPOWER register Instead of reading a register value everytime we need to apply a new value for it, maintain a cached copy for it. This also means we are able to skip writes that are not needed. Tested-by: Linus Walleij Signed-off-by: Ulf Hansson Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed