X-Git-Url: https://git.stricted.de/?p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git;a=blobdiff_plain;f=drivers%2Fmmc%2Fhost%2Fsdhci.c;fp=drivers%2Fmmc%2Fhost%2Fsdhci.c;h=16d7f939a747a9e636c159f2c7f81c9491edadaf;hp=836e2ac36a0df682f00550a8c1d445bc8bd4b2e7;hb=073b9047a02b15d6145346d0b94c1aa009d344f0;hpb=47e5ca72da0f3bc71b728cffcbf42bbdda5aa006 diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 836e2ac36a0d..16d7f939a747 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1220,7 +1220,9 @@ clock_set: return; } timeout--; - mdelay(1); + spin_unlock_irq(&host->lock); + usleep_range(900, 1100); + spin_lock_irq(&host->lock); } clk |= SDHCI_CLOCK_CARD_EN;