summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPedro Perez de Heredia <pedro.perez@digi.com>2012-01-26 11:02:28 +0100
committerPedro Perez de Heredia <pedro.perez@digi.com>2012-01-27 03:01:55 +0100
commitc5ce77f079e953f13aca092c0ececefbfa6893c6 (patch)
treef8a8d9840fe54f119541d89846fe5d896ebc11a3 /drivers
parent2492f03b1cb8a5d2336189f62e661f8bf81f28b3 (diff)
ccxmx5x: do not disable SDIO clock per transfer
On the ConnectCore Wi-i.MX51/53, disabling there clock causes that we lose interrupts on the wireless SDIO cards For that reason, we dont disable the clock on this platforms. Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com> (cherry picked from commit 025a6020819ee21447b6b907223e063e62dcc474) Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/mx_sdhci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mmc/host/mx_sdhci.c b/drivers/mmc/host/mx_sdhci.c
index 832be326a607..cf1e4d70f6be 100644
--- a/drivers/mmc/host/mx_sdhci.c
+++ b/drivers/mmc/host/mx_sdhci.c
@@ -1377,9 +1377,10 @@ static void sdhci_finish_worker(struct work_struct *work)
spin_unlock_irqrestore(&host->lock, flags);
/* Stop the clock when the req is done */
- if (machine_is_ccwmx51js() || machine_is_ccwmx51()) {
+ if (machine_is_ccwmx51js() || machine_is_ccwmx51() ||
+ machine_is_ccwmx53js() || machine_is_ccwmx53()) {
/**
- * On the ConnectCore Wi-i.MX51 this, disabling there clock
+ * On the ConnectCore Wi-i.MX51/53, disabling there clock
* causes that we lose interrupts on the wireless SDIO cards
* For that reason, we dont disable the clock on this platform
*/