aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 611284194000..476dbe6dabad 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1266,6 +1266,9 @@ static int snd_soc_dapm_set_pin(struct snd_soc_codec *codec,
1266 if (!strcmp(w->name, pin)) { 1266 if (!strcmp(w->name, pin)) {
1267 pr_debug("dapm: %s: pin %s\n", codec->name, pin); 1267 pr_debug("dapm: %s: pin %s\n", codec->name, pin);
1268 w->connected = status; 1268 w->connected = status;
1269 /* Allow disabling of forced pins */
1270 if (status == 0)
1271 w->force = 0;
1269 return 0; 1272 return 0;
1270 } 1273 }
1271 } 1274 }