On Fri, Dec 02, 2011 at 09:10:27PM +0100, Sylwester Nawrocki wrote:

> > +   /* Not all domains provide power status readback */
> > +   if (pd->pwr_stat) {
> > +           while (retry--)
> > +                   if (__raw_readl(S3C64XX_BLK_PWR_STAT) & pd->pwr_stat)
> > +                           break;

> How about adding cpu_relax() in this busy wait loop ?

May as well, yes - I didn't actually measure how long it tends to take
to do the spin but it's not going to hurt.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to