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

Tested-by: Linus Walleij <>
Signed-off-by: Ulf Hansson <>
Signed-off-by: Linus Walleij <>
Signed-off-by: Russell King <>
2 files changed