26 Sep
2014
26 Sep
'14
10:42 p.m.
On 09/26/2014 10:38 PM, Anatol Pomozov wrote:
I've fixed the items you mentioned.
One difference I spotted between your and mine patches is that you don't call regcache_cache_only(regmap) before powering down the device. Is it because I2C alive in power down mode? I guess I need to remove regcache_cache_only() then.
Yes, the interface should be alive, unless of course you disable the regulator. But having the regcache_cache_only() should not hurt, except that we need to resync the registers on power on, which can cause small additional delays.
- Lars