diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 07:57:18 -0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 07:26:28 -0400 |
commit | 0718e59ae259f7c48155b4e852d8b0632d59028e (patch) | |
tree | e501c1b617ac1ee208eafd8a7fd353ac23dbb018 /drivers/mmc/host/sdhci-esdhc.h | |
parent | 03231f9b781f24205c0af0398ce3cbef70090939 (diff) |
mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code
The Freescale esdhc driver is the only driver which needs the interrupt
registers restored after a reset. Move this quirk to be part of the
ESDHC driver implementation.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc.h')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h index a7d9f95a7b03..de69bddc3afc 100644 --- a/drivers/mmc/host/sdhci-esdhc.h +++ b/drivers/mmc/host/sdhci-esdhc.h | |||
@@ -22,8 +22,7 @@ | |||
22 | SDHCI_QUIRK_NO_BUSY_IRQ | \ | 22 | SDHCI_QUIRK_NO_BUSY_IRQ | \ |
23 | SDHCI_QUIRK_NONSTANDARD_CLOCK | \ | 23 | SDHCI_QUIRK_NONSTANDARD_CLOCK | \ |
24 | SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | \ | 24 | SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | \ |
25 | SDHCI_QUIRK_PIO_NEEDS_DELAY | \ | 25 | SDHCI_QUIRK_PIO_NEEDS_DELAY) |
26 | SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) | ||
27 | 26 | ||
28 | #define ESDHC_SYSTEM_CONTROL 0x2c | 27 | #define ESDHC_SYSTEM_CONTROL 0x2c |
29 | #define ESDHC_CLOCK_MASK 0x0000fff0 | 28 | #define ESDHC_CLOCK_MASK 0x0000fff0 |