Re: [PATCH] OMAP: MMC: recover from transfer failures - Resend

Andrew Morton
2009-02-05T20:18:46Z

On Tue, 3 Feb 2009 15:05:58 +0100
Jean Pihet <jpihet@mvista.com> wrote:

> + while (OMAP_HSMMC_READ(host->base,
> + SYSCTL) & SRD)
> + ;

Is a __raw_readl() sufficient to prevent the cpu from burning up here,
or should we add cpu_relax()?

An infinite loop which assumes the hardware is perfect is always a
worry. But I see the driver already does that, so we're no worse off..