Re: [PATCH] mfd: SM501 core driver

From
James Simmons <hidden>
Date
2007-02-08 17:56:10
Also in
lkml
Reply to
Ben Dooks, 2007-02-07

Do you have a new patch?

quoted
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
Thread (10 messages) 10 messages, 7 authors, last reply 2007-02-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help