mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
sdhci-bcm2708: speed up DMA sync
Experiments show that it doesn't really take that long to sync, so we can reduce the poll interval slightly. Might improve performance a bit.
This commit is contained in:
@@ -907,7 +907,7 @@ static void sdhci_bcm2708_dma_complete_irq(struct sdhci_host *host,
|
||||
while (0 != (sdhci_bcm2708_raw_readl(host, SDHCI_PRESENT_STATE)
|
||||
& state_mask) && --timeout > 0)
|
||||
{
|
||||
udelay(100);
|
||||
udelay(30);
|
||||
continue;
|
||||
}
|
||||
if (timeout <= 0)
|
||||
|
||||
Reference in New Issue
Block a user