提交 f4cb3b70 编写于 作者: M Mark Brown

Merge remote-tracking branches 'asoc/fix/wm8737', 'asoc/fix/wm8903',...

Merge remote-tracking branches 'asoc/fix/wm8737', 'asoc/fix/wm8903', 'asoc/fix/wm8955' and 'asoc/fix/wm8960' into asoc-linus
...@@ -483,7 +483,8 @@ static int wm8737_set_bias_level(struct snd_soc_codec *codec, ...@@ -483,7 +483,8 @@ static int wm8737_set_bias_level(struct snd_soc_codec *codec,
/* Fast VMID ramp at 2*2.5k */ /* Fast VMID ramp at 2*2.5k */
snd_soc_update_bits(codec, WM8737_MISC_BIAS_CONTROL, snd_soc_update_bits(codec, WM8737_MISC_BIAS_CONTROL,
WM8737_VMIDSEL_MASK, 0x4); WM8737_VMIDSEL_MASK,
2 << WM8737_VMIDSEL_SHIFT);
/* Bring VMID up */ /* Bring VMID up */
snd_soc_update_bits(codec, WM8737_POWER_MANAGEMENT, snd_soc_update_bits(codec, WM8737_POWER_MANAGEMENT,
...@@ -497,7 +498,8 @@ static int wm8737_set_bias_level(struct snd_soc_codec *codec, ...@@ -497,7 +498,8 @@ static int wm8737_set_bias_level(struct snd_soc_codec *codec,
/* VMID at 2*300k */ /* VMID at 2*300k */
snd_soc_update_bits(codec, WM8737_MISC_BIAS_CONTROL, snd_soc_update_bits(codec, WM8737_MISC_BIAS_CONTROL,
WM8737_VMIDSEL_MASK, 2); WM8737_VMIDSEL_MASK,
1 << WM8737_VMIDSEL_SHIFT);
break; break;
......
...@@ -172,7 +172,7 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec, ...@@ -172,7 +172,7 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec,
#define WM8903_VMID_BUF_ENA_WIDTH 1 /* VMID_BUF_ENA */ #define WM8903_VMID_BUF_ENA_WIDTH 1 /* VMID_BUF_ENA */
#define WM8903_VMID_RES_50K 2 #define WM8903_VMID_RES_50K 2
#define WM8903_VMID_RES_250K 3 #define WM8903_VMID_RES_250K 4
#define WM8903_VMID_RES_5K 6 #define WM8903_VMID_RES_5K 6
/* /*
......
...@@ -298,7 +298,7 @@ static int wm8955_configure_clocking(struct snd_soc_codec *codec) ...@@ -298,7 +298,7 @@ static int wm8955_configure_clocking(struct snd_soc_codec *codec)
snd_soc_update_bits(codec, WM8955_PLL_CONTROL_2, snd_soc_update_bits(codec, WM8955_PLL_CONTROL_2,
WM8955_K_17_9_MASK, WM8955_K_17_9_MASK,
(pll.k >> 9) & WM8955_K_17_9_MASK); (pll.k >> 9) & WM8955_K_17_9_MASK);
snd_soc_update_bits(codec, WM8955_PLL_CONTROL_2, snd_soc_update_bits(codec, WM8955_PLL_CONTROL_3,
WM8955_K_8_0_MASK, WM8955_K_8_0_MASK,
pll.k & WM8955_K_8_0_MASK); pll.k & WM8955_K_8_0_MASK);
if (pll.k) if (pll.k)
......
...@@ -245,7 +245,7 @@ SOC_SINGLE("PCM Playback -6dB Switch", WM8960_DACCTL1, 7, 1, 0), ...@@ -245,7 +245,7 @@ SOC_SINGLE("PCM Playback -6dB Switch", WM8960_DACCTL1, 7, 1, 0),
SOC_ENUM("ADC Polarity", wm8960_enum[0]), SOC_ENUM("ADC Polarity", wm8960_enum[0]),
SOC_SINGLE("ADC High Pass Filter Switch", WM8960_DACCTL1, 0, 1, 0), SOC_SINGLE("ADC High Pass Filter Switch", WM8960_DACCTL1, 0, 1, 0),
SOC_ENUM("DAC Polarity", wm8960_enum[2]), SOC_ENUM("DAC Polarity", wm8960_enum[1]),
SOC_SINGLE_BOOL_EXT("DAC Deemphasis Switch", 0, SOC_SINGLE_BOOL_EXT("DAC Deemphasis Switch", 0,
wm8960_get_deemph, wm8960_put_deemph), wm8960_get_deemph, wm8960_put_deemph),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册