From bb4d07e2e027d3063de739d472a53ff6f3d4ac8c Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 6 Oct 2011 13:30:55 +0100 Subject: [PATCH] --- yaml --- r: 270793 b: refs/heads/master c: 143d62a45b5f976067a8d705f7fae26a402651f9 h: refs/heads/master i: 270791: 65171bf42583390c2fe858e6a1b1a037599cd47f v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-jack.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b7225cfcf16b..b738c93f6398 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c4671a95857800941cb5aa6405170f3a91e448b4 +refs/heads/master: 143d62a45b5f976067a8d705f7fae26a402651f9 diff --git a/trunk/sound/soc/soc-jack.c b/trunk/sound/soc/soc-jack.c index fa31d9c2abd8..52db96636290 100644 --- a/trunk/sound/soc/soc-jack.c +++ b/trunk/sound/soc/soc-jack.c @@ -188,6 +188,8 @@ int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count, list_add(&(pins[i].list), &jack->pins); } + snd_soc_dapm_new_widgets(&jack->codec->card->dapm); + /* 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.