On Thursday 05 August 2010 22:19:52 Julia Lawall wrote: > From: Julia Lawall <julia@xxxxxxx> ... > Signed-off-by: Julia Lawall <julia@xxxxxxx> Acked-by: Pavel Pisa <pisa@xxxxxxxxxxxxxxxx> Good catch. > --- > drivers/mmc/host/imxmmc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/imxmmc.c b/drivers/mmc/host/imxmmc.c > index 9a68ff4..5a950b1 100644 > --- a/drivers/mmc/host/imxmmc.c > +++ b/drivers/mmc/host/imxmmc.c > @@ -148,11 +148,12 @@ static int imxmci_start_clock(struct imxmci_host > *host) > > while (delay--) { > reg = readw(host->base + MMC_REG_STATUS); > - if (reg & STATUS_CARD_BUS_CLK_RUN) > + if (reg & STATUS_CARD_BUS_CLK_RUN) { > /* Check twice before cut */ > reg = readw(host->base + MMC_REG_STATUS); > if (reg & STATUS_CARD_BUS_CLK_RUN) > return 0; > + } > > if (test_bit(IMXMCI_PEND_STARTED_b, &host->pending_events)) > return 0; > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Pavel Pisa e-mail: pisa@xxxxxxxxxxxxxxxx www: http://cmp.felk.cvut.cz/~pisa university: http://dce.fel.cvut.cz/ company: http://www.pikron.com/ -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html