]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Sync initial widget state with hardware
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 18:04:11 +0000 (18:04 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 22:51:12 +0000 (22:51 +0000)
commit196f3a911baf681e3f6ac0ce27435c4f6f8c6ce0
treef5c517d5771badee1c81cfbca8bd6d036cf52a01
parentfd7c13e95cecc757d270937a37df0db4fbde8a66
ASoC: Sync initial widget state with hardware

ASoC generally uses the register defaults for everything, but in some
cases the hardware will default to enabling some of the DAPM widgets
(clocks for example). Ensure that DAPM knows about the actual widget
state at initialisation by reading the enable bits after instantiating
the widgets so they don't get left enabled needlessly.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/soc-dapm.c