]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8962: Enable start-up and normal bias after reset in runtime resume
authorNicolin Chen <b42378@freescale.com>
Fri, 14 Jun 2013 11:49:06 +0000 (19:49 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 14 Jun 2013 11:43:16 +0000 (12:43 +0100)
commit46f7c920a3f79701cb194d3850a8f8b168f2a2b9
tree13d83e01d27c4ec9b98d3a90acc9686601258517
parent5e45d1eb2174c7e4b884e3010e3365cd3038fa2a
ASoC: wm8962: Enable start-up and normal bias after reset in runtime resume

This part of bias settings are essential for WM8962 to power up. Without it
"wm8962 0-001a: DC servo timed out" might be prompted due to power-up failure
that happens to FLL if being used.

The driver's also bringing the bias down in the suspend path so it needs to be
powered up in the resume path for symmetry.

According to dapm_pre_sequence_async(), DAPM would call pm_runtime_get_sync()
to let driver finish the bias settings in pm_runtime_resume() before the bias
level being set to STANDBY. So no need to worry about disordered settings for
VMID of WM8962.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8962.c