# Re: \[PATCH\] mfd: SM501 core driver

- From: James Simmons \<hidden\>
- Date: 2007-02-08 17:56:10 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2007/02/918905
- Thread: https://ratatoskr.run/lkml/2007/02/918174/t.md

```text


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.
> 
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
```
