diff mbox

ALSA: ASoC: Fix WM9713 mic 2 preamp volume

Message ID 1400183425-23628-1-git-send-email-mreimer@sdgsystems.com (mailing list archive)
State New, archived
Headers show

Commit Message

Matt Reimer May 15, 2014, 7:50 p.m. UTC
Fix WM9713's mic 2 preamp volume. The previous definition specified
the Mic A pre-amp input select bits (aka "Mic A Source") instead.

Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
---
 sound/soc/codecs/wm9713.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Charles Keepax May 17, 2014, 2:52 p.m. UTC | #1
On Thu, May 15, 2014 at 12:50:25PM -0700, Matt Reimer wrote:
> Fix WM9713's mic 2 preamp volume. The previous definition specified
> the Mic A pre-amp input select bits (aka "Mic A Source") instead.
> 
> Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
> ---

Change looks good, but remember to CC the maintainers on patches.

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles
diff mbox

Patch

diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index acea892..5f69b52 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -134,7 +134,7 @@  SOC_DOUBLE_TLV("PCM Playback Volume", AC97_PHONE, 8, 0, 31, 1, main_tlv),
 SOC_SINGLE_TLV("Mic 1 Volume", AC97_MIC, 8, 31, 1, main_tlv),
 SOC_SINGLE_TLV("Mic 2 Volume", AC97_MIC, 0, 31, 1, main_tlv),
 SOC_SINGLE_TLV("Mic 1 Preamp Volume", AC97_3D_CONTROL, 10, 3, 0, mic_tlv),
-SOC_SINGLE_TLV("Mic 2 Preamp Volume", AC97_3D_CONTROL, 12, 3, 0, mic_tlv),
+SOC_SINGLE_TLV("Mic 2 Preamp Volume", AC97_3D_CONTROL, 8, 3, 0, mic_tlv),
 
 SOC_SINGLE("Mic Boost (+20dB) Switch", AC97_LINE, 5, 1, 0),
 SOC_SINGLE("Mic Headphone Mixer Volume", AC97_LINE, 0, 7, 1),