diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2016-11-08 11:19:10 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-08 11:19:09 -0800 |
commit | 27df8e442563c4ca7313fd30fb7f158703865e3e (patch) | |
tree | 218a2babbb9bb9d6e27464b254f9062191f2d552 | |
parent | 9d893fc13622877c1dd5ae512e0c613f70468647 (diff) | |
parent | 6db3939dbf640f2f03ca61c7f42c26942fc41e05 (diff) |
Merge "ASoC: wcd934x: Fix fake button press for headset insertion"
-rw-r--r-- | sound/soc/codecs/wcd934x/wcd934x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd934x/wcd934x.c b/sound/soc/codecs/wcd934x/wcd934x.c index 59012cf7e264..d989ae3bed6c 100644 --- a/sound/soc/codecs/wcd934x/wcd934x.c +++ b/sound/soc/codecs/wcd934x/wcd934x.c @@ -4209,7 +4209,7 @@ int tavil_micbias_control(struct snd_soc_codec *codec, post_dapm_on, &tavil->mbhc->wcd_mbhc); break; case MICB_DISABLE: - if (tavil->pullup_ref[micb_index] > 0) + if (tavil->micb_ref[micb_index] > 0) tavil->micb_ref[micb_index]--; if ((tavil->micb_ref[micb_index] == 0) && (tavil->pullup_ref[micb_index] > 0)) |