[PATCH 3/3] ARM: S3C64XX: Implement basic power domain support
Mark Brown
broonie at opensource.wolfsonmicro.com
Fri Dec 2 16:07:06 EST 2011
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.
More information about the linux-arm-kernel
mailing list