28 Mar
2011
28 Mar
'11
11:35 a.m.
On Sat, Mar 26, 2011 at 05:29:41PM +0000, Mark Brown wrote:
On Thu, Mar 24, 2011 at 01:45:19PM +0000, Dimitris Papastamos wrote:
When syncing the cache, if the driver has given us a writable_register() callback, use it to not sync any non-writable registers.
Signed-off-by: Dimitris Papastamos dp@opensource.wolfsonmicro.com
Thinking about this again I'm actually thinking we should really be warning if we ever find a need to sync a non-writable register - given that we suppress writes of the default value this'd mean that we'd have had to have written to the register at some point in the past which means that something messed up somewhere.
Yea that makes sense. I will send in a patch.
Thanks, Dimitris