Re: [PATCH] mfd: SM501 core driver

From: James Simmons
Date: Thu Feb 08 2007 - 12:56:26 EST




Do you have a new patch?


> > No, that shuldn't be necessary. If it was, the compiler would optimise
> > away the first readl() in
> >
> > my_local = readl(foo);
> > my_local = readl(bar);
> >
> > which would break stuff. readl() implementations use volatile to prevent
> > this.
>
> Ok, i've moved these into their own function called
> sm501_sync_regs() to make it more explicit what it is
> being used for.
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/