Loading drivers/mmc/host/sdhci.c +6 −6 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ static void sdhci_reset(struct sdhci_host *host, u8 mask) host->clock = 0; /* Wait max 100 ms */ timeout = 100; timeout = 100000; if (host->ops->check_power_status && host->pwr && (mask & SDHCI_RESET_ALL)) Loading @@ -285,7 +285,7 @@ static void sdhci_reset(struct sdhci_host *host, u8 mask) return; } timeout--; mdelay(1); udelay(1); } if (host->ops->platform_reset_exit) Loading Loading @@ -1159,7 +1159,7 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) WARN_ON(host->cmd); /* Wait max 10 ms */ timeout = 10; timeout = 10000; mask = SDHCI_CMD_INHIBIT; if ((cmd->data != NULL) || (cmd->flags & MMC_RSP_BUSY)) Loading @@ -1180,7 +1180,7 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) return; } timeout--; mdelay(1); udelay(1); } mod_timer(&host->timer, jiffies + SDHCI_REQUEST_TIMEOUT * HZ); Loading Loading @@ -1406,7 +1406,7 @@ clock_set: sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL); /* Wait max 20 ms */ timeout = 20; timeout = 20000; while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL)) & SDHCI_CLOCK_INT_STABLE)) { if (timeout == 0) { Loading @@ -1416,7 +1416,7 @@ clock_set: goto ret; } timeout--; mdelay(1); udelay(1); } clk |= SDHCI_CLOCK_CARD_EN; Loading Loading
drivers/mmc/host/sdhci.c +6 −6 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ static void sdhci_reset(struct sdhci_host *host, u8 mask) host->clock = 0; /* Wait max 100 ms */ timeout = 100; timeout = 100000; if (host->ops->check_power_status && host->pwr && (mask & SDHCI_RESET_ALL)) Loading @@ -285,7 +285,7 @@ static void sdhci_reset(struct sdhci_host *host, u8 mask) return; } timeout--; mdelay(1); udelay(1); } if (host->ops->platform_reset_exit) Loading Loading @@ -1159,7 +1159,7 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) WARN_ON(host->cmd); /* Wait max 10 ms */ timeout = 10; timeout = 10000; mask = SDHCI_CMD_INHIBIT; if ((cmd->data != NULL) || (cmd->flags & MMC_RSP_BUSY)) Loading @@ -1180,7 +1180,7 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) return; } timeout--; mdelay(1); udelay(1); } mod_timer(&host->timer, jiffies + SDHCI_REQUEST_TIMEOUT * HZ); Loading Loading @@ -1406,7 +1406,7 @@ clock_set: sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL); /* Wait max 20 ms */ timeout = 20; timeout = 20000; while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL)) & SDHCI_CLOCK_INT_STABLE)) { if (timeout == 0) { Loading @@ -1416,7 +1416,7 @@ clock_set: goto ret; } timeout--; mdelay(1); udelay(1); } clk |= SDHCI_CLOCK_CARD_EN; Loading