summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic32x4.h
diff options
context:
space:
mode:
authorb-ak <anur.bhargav@gmail.com>2019-01-09 18:11:21 +0100
committerMark Brown <broonie@kernel.org>2019-01-09 19:38:46 +0100
commit04d979d7a7bac2f645cd827ea37e5ffa5b4e1f97 (patch)
treea946aa030da49e92ff208911528d3af7a8b15edd /sound/soc/codecs/tlv320aic32x4.h
parentASoC: da7219: Add recalc_rate function to return DAI clock rate (diff)
downloadlinux-04d979d7a7bac2f645cd827ea37e5ffa5b4e1f97.tar.xz
linux-04d979d7a7bac2f645cd827ea37e5ffa5b4e1f97.zip
ASoC: tlv320aic32x4: SND_SOC_DAPM_MICBIAS is deprecated
SND_SOC_DAPM_MICBIAS is deprecated, replace it with SND_SOC_DAPM_SUPPLY. MICBIAS voltage wasn't supplied to the microphone with the older SND_SOC_DAPM_MICBIAS widget, hence the microphone wouldn't work. This patch fixes the problem. Signed-off-by: b-ak <anur.bhargav@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic32x4.h')
-rw-r--r--sound/soc/codecs/tlv320aic32x4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic32x4.h b/sound/soc/codecs/tlv320aic32x4.h
index e9df49edbf19..c2d74025bf4b 100644
--- a/sound/soc/codecs/tlv320aic32x4.h
+++ b/sound/soc/codecs/tlv320aic32x4.h
@@ -195,6 +195,7 @@ int aic32x4_remove(struct device *dev);
/* AIC32X4_MICBIAS */
#define AIC32X4_MICBIAS_LDOIN BIT(3)
#define AIC32X4_MICBIAS_2075V 0x60
+#define AIC32x4_MICBIAS_MASK GENMASK(6, 3)
/* AIC32X4_LMICPGANIN */
#define AIC32X4_LMICPGANIN_IN2R_10K 0x10