aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-12-21 05:05:43 -0500
committerMark Brown <broonie@kernel.org>2014-12-22 07:44:59 -0500
commit768c0564439bce179e3f0f2ffafe8dcab6a08f40 (patch)
tree839ea6c10c9f4b1e8353f18c2c8914e9662cf1b9
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
ASoC: dapm: Don't mark MICBIAS widgets as auto non-connected
The connected flag of a widget only affects widgets that are either a source or a sink. The MICBIAS widget is a simple pass-through widget though and hence its behavior is the same regardless of whether the connected flag is set or not. Hence there is not much point in trying to automatically mark MICBIAS widgets as non-connected, so just remove it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/soc-dapm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index c5136bb1f982..b8eba93b5faf 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -3880,7 +3880,6 @@ void snd_soc_dapm_auto_nc_pins(struct snd_soc_card *card)
3880 switch (w->id) { 3880 switch (w->id) {
3881 case snd_soc_dapm_input: 3881 case snd_soc_dapm_input:
3882 case snd_soc_dapm_output: 3882 case snd_soc_dapm_output:
3883 case snd_soc_dapm_micbias:
3884 dev_dbg(card->dev, "ASoC: Auto NC: Checking widget %s\n", 3883 dev_dbg(card->dev, "ASoC: Auto NC: Checking widget %s\n",
3885 w->name); 3884 w->name);
3886 if (!snd_soc_dapm_widget_in_card_paths(card, w)) { 3885 if (!snd_soc_dapm_widget_in_card_paths(card, w)) {