Loading sound/soc/codecs/wcd9335.c +4 −2 Original line number Diff line number Diff line Loading @@ -1386,6 +1386,7 @@ static int tasha_micbias_control(struct snd_soc_codec *codec, snd_soc_update_bits(codec, micb_reg, 0xC0, 0x80); break; case MICB_PULLUP_DISABLE: if (tasha->pullup_ref[micb_index] > 0) tasha->pullup_ref[micb_index]--; if ((tasha->pullup_ref[micb_index] == 0) && (tasha->micb_ref[micb_index] == 0)) Loading @@ -1404,6 +1405,7 @@ static int tasha_micbias_control(struct snd_soc_codec *codec, post_dapm_on, &tasha->mbhc); break; case MICB_DISABLE: if (tasha->micb_ref[micb_index] > 0) tasha->micb_ref[micb_index]--; if ((tasha->micb_ref[micb_index] == 0) && (tasha->pullup_ref[micb_index] > 0)) Loading Loading
sound/soc/codecs/wcd9335.c +4 −2 Original line number Diff line number Diff line Loading @@ -1386,6 +1386,7 @@ static int tasha_micbias_control(struct snd_soc_codec *codec, snd_soc_update_bits(codec, micb_reg, 0xC0, 0x80); break; case MICB_PULLUP_DISABLE: if (tasha->pullup_ref[micb_index] > 0) tasha->pullup_ref[micb_index]--; if ((tasha->pullup_ref[micb_index] == 0) && (tasha->micb_ref[micb_index] == 0)) Loading @@ -1404,6 +1405,7 @@ static int tasha_micbias_control(struct snd_soc_codec *codec, post_dapm_on, &tasha->mbhc); break; case MICB_DISABLE: if (tasha->micb_ref[micb_index] > 0) tasha->micb_ref[micb_index]--; if ((tasha->micb_ref[micb_index] == 0) && (tasha->pullup_ref[micb_index] > 0)) Loading