linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] mmc: sdhci-esdhc: Change delay after setting clock from 100ms to 1ms
@ 2011-11-22  6:42 Tony Lin
  2011-12-01 18:10 ` Chris Ball
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lin @ 2011-11-22  6:42 UTC (permalink / raw)
  To: linux-arm-kernel

1ms is enough for hardware to change the clock to stable.
100ms is too long in the tasklet.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
CC: Xiaobo Xie <X.Xie@freescale.com>
CC: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 drivers/mmc/host/sdhci-esdhc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
index c3b08f1..b97b2f5 100644
--- a/drivers/mmc/host/sdhci-esdhc.h
+++ b/drivers/mmc/host/sdhci-esdhc.h
@@ -73,7 +73,7 @@ static inline void esdhc_set_clock(struct sdhci_host *host, unsigned int clock)
 		| (div << ESDHC_DIVIDER_SHIFT)
 		| (pre_div << ESDHC_PREDIV_SHIFT));
 	sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL);
-	mdelay(100);
+	mdelay(1);
 out:
 	host->clock = clock;
 }
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH 1/1] mmc: sdhci-esdhc: Change delay after setting clock from 100ms to 1ms
@ 2011-09-01  5:51 Tony Lin
  2011-09-01  5:55 ` Wolfram Sang
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lin @ 2011-09-01  5:51 UTC (permalink / raw)
  To: linux-arm-kernel

1ms is enough for hardware to change the clock to stable.
100ms is too long.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
---
 drivers/mmc/host/sdhci-esdhc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
index c3b08f1..b97b2f5 100644
--- a/drivers/mmc/host/sdhci-esdhc.h
+++ b/drivers/mmc/host/sdhci-esdhc.h
@@ -73,7 +73,7 @@ static inline void esdhc_set_clock(struct sdhci_host *host, unsigned int clock)
 		| (div << ESDHC_DIVIDER_SHIFT)
 		| (pre_div << ESDHC_PREDIV_SHIFT));
 	sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL);
-	mdelay(100);
+	mdelay(1);
 out:
 	host->clock = clock;
 }
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-13 17:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-22  6:42 [PATCH 1/1] mmc: sdhci-esdhc: Change delay after setting clock from 100ms to 1ms Tony Lin
2011-12-01 18:10 ` Chris Ball
2011-12-02  5:37   ` Lin Tony-B19295
2011-12-02  7:13     ` Huang Changming-R66093
2011-12-13 17:25       ` Chris Ball
  -- strict thread matches above, loose matches on Subject: below --
2011-09-01  5:51 Tony Lin
2011-09-01  5:55 ` Wolfram Sang
2011-09-01  7:46   ` Lin Tony-B19295

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).