summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rts5227.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2015-10-02 13:29:11 +0100
committerLee Jones <lee.jones@linaro.org>2015-10-30 17:20:20 +0000
commite3424273545bef85ebf959c90091d60ba3fc2efc (patch)
treee150ab274aa067a260aec58c4493ec1b9b96b219 /drivers/mfd/rts5227.c
parente7811147aafb3d6364b8d60223cbe6c323cdf725 (diff)
downloadblackbird-op-linux-e3424273545bef85ebf959c90091d60ba3fc2efc.tar.gz
blackbird-op-linux-e3424273545bef85ebf959c90091d60ba3fc2efc.zip
mfd: arizona: Factor out checking of jack detection state
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: 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>
Diffstat (limited to 'drivers/mfd/rts5227.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud