Messages in this thread | | | Date | Thu, 5 Feb 2009 12:10:45 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] OMAP: MMC: recover from transfer failures - Resend |
| |
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..
| |