diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2015-04-07 13:55:10 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-08 20:25:40 +0200 |
commit | 1a60667fc81fdab3733a1d41480da3a5d0ccecea (patch) | |
tree | d146cc70eb718062b3f7546a896c21bbaf9e4b1d /mm/process_vm_access.c | |
parent | ASoC: wm8804: Add DAPM widgets for SPDIF/AIF (diff) | |
download | linux-1a60667fc81fdab3733a1d41480da3a5d0ccecea.tar.xz linux-1a60667fc81fdab3733a1d41480da3a5d0ccecea.zip |
ASoC: wm8804: Enable runtime PM
Currently both the oscillator and the PLL are powered up in
set_bias_level. This can be problematic when using output clocks from
the wm8804 for other devices. The snd_soc_codec_set_pll API defines that
a clock should be available once the call returns, however, with all the
clocking controlled in set_bias_level this is not currently the case.
This patch enables pm_runtime for the wm8804, enabling both the
regulators and the oscillator when the chip resumes, and enabling the
PLL in the snd_soc_codec_set_pll call. Naturally the enabling the PLL
will also cause the chip to resume.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions