Re: [PATCH V4 2/3] mfd: arizona: factor out checking of jack detection state

2015-08-12 Thread Lee Jones
On Wed, 12 Aug 2015, Richard Fitzgerald wrote: > Currently runtime_suspend will fully power off the codec if > the jack detection is not enabled. Not all future codecs will > have jack detection so to prepare for these codecs this patch > factors out the check so that it be called as needed in the

[PATCH V4 2/3] mfd: arizona: factor out checking of jack detection state

2015-08-12 Thread Richard Fitzgerald
Currently runtime_suspend will fully power off the codec if the jack detection is not enabled. Not all future codecs will have jack detection so to prepare for these codecs this patch factors out the check so that it be called as needed in the existing codec-specific switch cases. Signed-off-by: R