diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-10-02 13:29:11 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 17:20:20 +0000 |
commit | e3424273545bef85ebf959c90091d60ba3fc2efc (patch) | |
tree | e150ab274aa067a260aec58c4493ec1b9b96b219 /drivers/cpufreq/vexpress-spc-cpufreq.c | |
parent | e7811147aafb3d6364b8d60223cbe6c323cdf725 (diff) | |
download | talos-op-linux-e3424273545bef85ebf959c90091d60ba3fc2efc.tar.gz talos-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/cpufreq/vexpress-spc-cpufreq.c')
0 files changed, 0 insertions, 0 deletions