26 Aug
2014
26 Aug
'14
8:56 a.m.
On Tue, Aug 26, 2014 at 08:43:14AM +0200, Lars-Peter Clausen wrote:
On 08/26/2014 08:28 AM, Mark Brown wrote:
If it is the above patch is the problem perhaps that the register map isn't getting marked as dirty so the cache sync is being suppressed?
The core should mark it as dirty after calling the suspend callback. But there might be bugs preventing this. Try to make sure that regmap_mark_dirty() gets called for this device and also try to check what goes wrong in regcache_sync() and why it does not sync the registers.
Indeed, I can't see any obvious breakage there and don't remember any fixes though I've not checked the old code properly.