summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-12-21 11:05:43 +0100
committerMark Brown <broonie@kernel.org>2014-12-22 12:44:59 +0000
commit768c0564439bce179e3f0f2ffafe8dcab6a08f40 (patch)
tree839ea6c10c9f4b1e8353f18c2c8914e9662cf1b9 /sound/soc/soc-dapm.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlwn-768c0564439bce179e3f0f2ffafe8dcab6a08f40.tar.gz
lwn-768c0564439bce179e3f0f2ffafe8dcab6a08f40.zip
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>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-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)
switch (w->id) {
case snd_soc_dapm_input:
case snd_soc_dapm_output:
- case snd_soc_dapm_micbias:
dev_dbg(card->dev, "ASoC: Auto NC: Checking widget %s\n",
w->name);
if (!snd_soc_dapm_widget_in_card_paths(card, w)) {