Charles Keepax 1a60667fc8 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>
2015-04-08 19:25:40 +01:00
..
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-02-19 13:36:15 +09:00
2014-02-19 13:36:15 +09:00
2014-02-19 13:36:15 +09:00
2015-01-15 11:06:24 +00:00
2014-12-14 16:10:09 -08:00
2014-04-07 10:48:50 +01:00
2013-02-14 17:27:17 +00:00
2014-08-16 17:17:13 -05:00
2014-08-16 17:17:13 -05:00
2014-12-14 16:10:09 -08:00
2015-03-05 01:05:54 +00:00
2015-03-05 01:05:54 +00:00
2012-04-01 11:28:24 +01:00
2012-05-18 16:42:20 +01:00
2014-07-28 17:49:20 +01:00
2014-07-02 20:49:25 +01:00
2013-05-25 10:33:30 -04:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2012-01-26 16:07:55 +00:00
2015-04-08 19:25:40 +01:00
2015-04-08 19:25:40 +01:00
2015-04-08 19:25:40 +01:00
2015-04-08 19:25:40 +01:00
2013-08-13 11:31:56 +01:00