diff options
| author | 2012-01-18 09:17:27 +0100 | |
|---|---|---|
| committer | 2012-02-02 17:02:15 +0000 | |
| commit | 7437cfa532842ce75189826742bddf1ba137f58e (patch) | |
| tree | a668a44a7c54b9f8e73c816831ad0958cc61fc18 /lib/dma-debug.c | |
| parent | ARM: 7230/1: mmc: mmci: Fix PIO read for small SDIO packets (diff) | |
| download | linux-dev-7437cfa532842ce75189826742bddf1ba137f58e.tar.xz linux-dev-7437cfa532842ce75189826742bddf1ba137f58e.zip | |
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 <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
