mfd: arizona: Factor out DCVDD isolation control
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Fri, 2 Oct 2015 12:29:10 +0000 (13:29 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:20:13 +0000 (17:20 +0000)
commite7811147aafb3d6364b8d60223cbe6c323cdf725
tree85645af49ee68389f533790f37ae37171d2872e6
parent18eb3f041addcdf8ef4a4b80547a67557c8826d6
mfd: arizona: Factor out DCVDD isolation control

Currently DCVDD isolation is enabled and disabled for
runtime_suspend and runtime_resume. Future codecs will not
have the isolation control so to prepare for these codecs
this patch factors out the isolation control allowing it to
be called as needed in the existing codec-specific switch cases.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c