28 Mar
2014
28 Mar
'14
12:40 p.m.
On 03/28/2014 12:35 PM, Mark Brown wrote:
On Thu, Mar 27, 2014 at 09:42:16PM +0100, Daniel Mack wrote:
While at it, move the device identification from the i2c probe to the codec probe, so we do it after the regulators have been enabled.
It'd be better style to enable the regulators during probe to read the ID register rather than deferring.
I had it that way, but that meant I had to introduce device-level pm functions in parallel to the soc-level ones, in order to really bring down the supply in suspend, even in setups where the codec is not actually used.
Nevermind, I can change it back. Will resend the patches for tas5086 and ak4104.
Thanks, Daniel