[alsa-devel] [PATCH] ASoC: Ensure DAPM widgets are set up before we sync jacks
broonie at opensource.wolfsonmicro.com
Thu Oct 6 14:31:24 CEST 2011
We synchronise jack state on startup - when we do that make sure that we
have set up all the DAPM widgets first in case we end up touching any of
the partially set up widgets when syncing the jack pins.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
sound/soc/soc-jack.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index 02f95aa..6c5ebd3 100644
@@ -189,6 +189,8 @@ int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
/* Update to reflect the last reported status; canned jack
* implementations are likely to set their state before the
* card has an opportunity to associate pins.
More information about the Alsa-devel