diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-05-15 20:48:23 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-05-23 00:09:15 +0100 |
commit | 9cc639a20fdc0b935e55d4992f93963f95233ca4 (patch) | |
tree | b1a48ccf64e34f86f23d6ce944d6cfafbbb4723d /drivers/mmc/host/mmci.h | |
parent | 0f3ed7f75cf1a16df9309f3a9ffaf62a3fc1f0bb (diff) | |
download | talos-obmc-linux-9cc639a20fdc0b935e55d4992f93963f95233ca4.tar.gz talos-obmc-linux-9cc639a20fdc0b935e55d4992f93963f95233ca4.zip |
ARM: 7725/1: mmc: mmci: Cache MMCIDATACTRL register
Add a cache variable in the host struct that reflects the current data in
the MMCIDATACTRL register. This patch will not introduce any functional
change but instead provide an easy option to keep specific bits in the
register between each data transfer.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r-- | drivers/mmc/host/mmci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h index 1383c9ce2646..0b6cc54be966 100644 --- a/drivers/mmc/host/mmci.h +++ b/drivers/mmc/host/mmci.h @@ -183,6 +183,7 @@ struct mmci_host { unsigned int cclk; u32 pwr_reg; u32 clk_reg; + u32 datactrl_reg; bool vqmmc_enabled; struct mmci_platform_data *plat; struct variant_data *variant; |