From: HyeongJun An <sammiee5311@gmail.com>
To: broonie@kernel.org
Cc: lgirdwood@gmail.com, ckeepax@opensource.cirrus.com,
patches@opensource.cirrus.com, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 01/13] ASoC: codecs: wm8990: Fix definition of right input PGA controls
Date: Wed, 14 Oct 2026 15:32:28 +0900 [thread overview]
Message-ID: <818cf8d7ae81fa46c67cd5b4d01291a63f44c9a1.1791959026.git.sammiee5311@gmail.com> (raw)
In-Reply-To: <cover.1791959026.git.sammiee5311@gmail.com>
The right input PGA boost (R12MNBST, R34MNBST) and routing (R12MNB,
R34MNB) bits are in Input Mixer4 (R42), not in Input Mixer3 (R41),
where these controls write the left channel bits.
Fixes: f10485e79882 ("[ALSA] ASoC: Add WM8990 driver")
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: HyeongJun An <sammiee5311@gmail.com>
---
sound/soc/codecs/wm8990.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c
index 11dfbbbdcd92..a3843094866b 100644
--- a/sound/soc/codecs/wm8990.c
+++ b/sound/soc/codecs/wm8990.c
@@ -97,8 +97,8 @@ static const struct snd_kcontrol_new wm8990_snd_controls[] = {
SOC_SINGLE("LIN12 PGA Boost", WM8990_INPUT_MIXER3, WM8990_L12MNBST_BIT, 1, 0),
SOC_SINGLE("LIN34 PGA Boost", WM8990_INPUT_MIXER3, WM8990_L34MNBST_BIT, 1, 0),
/* INMIXR */
-SOC_SINGLE("RIN12 PGA Boost", WM8990_INPUT_MIXER3, WM8990_R12MNBST_BIT, 1, 0),
-SOC_SINGLE("RIN34 PGA Boost", WM8990_INPUT_MIXER3, WM8990_R34MNBST_BIT, 1, 0),
+SOC_SINGLE("RIN12 PGA Boost", WM8990_INPUT_MIXER4, WM8990_R12MNBST_BIT, 1, 0),
+SOC_SINGLE("RIN34 PGA Boost", WM8990_INPUT_MIXER4, WM8990_R34MNBST_BIT, 1, 0),
/* LOMIX */
SOC_SINGLE_TLV("LOMIX LIN3 Bypass Volume", WM8990_OUTPUT_MIXER3,
@@ -377,9 +377,9 @@ SOC_DAPM_SINGLE_TLV("Record Right Volume", WM8990_INPUT_MIXER4,
WM8990_RDBVOL_SHIFT, WM8990_RDBVOL_MASK, 0, in_mix_tlv),
SOC_DAPM_SINGLE_TLV("RIN2 Volume", WM8990_INPUT_MIXER6, WM8990_RI2BVOL_SHIFT,
7, 0, in_mix_tlv),
-SOC_DAPM_SINGLE("RINPGA12 Switch", WM8990_INPUT_MIXER3, WM8990_L12MNB_BIT,
+SOC_DAPM_SINGLE("RINPGA12 Switch", WM8990_INPUT_MIXER4, WM8990_R12MNB_BIT,
1, 0),
-SOC_DAPM_SINGLE("RINPGA34 Switch", WM8990_INPUT_MIXER3, WM8990_L34MNB_BIT,
+SOC_DAPM_SINGLE("RINPGA34 Switch", WM8990_INPUT_MIXER4, WM8990_R34MNB_BIT,
1, 0),
};
--
2.43.0
next prev parent reply other threads:[~2026-10-14 6:32 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 6:32 [PATCH 00/13] ASoC: codecs: Fix Wolfson control definitions that write another control's bits HyeongJun An
2026-10-14 6:32 ` HyeongJun An [this message]
2026-10-14 9:32 ` [PATCH 01/13] ASoC: codecs: wm8990: Fix definition of right input PGA controls Charles Keepax
2026-10-14 6:32 ` [PATCH 02/13] ASoC: codecs: wm8990: Fix definition of LOMIX AINLMUX Bypass Volume control HyeongJun An
2026-10-14 9:32 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 03/13] ASoC: codecs: wm8991: Fix definition of right input PGA controls HyeongJun An
2026-10-14 9:35 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 04/13] ASoC: codecs: wm8991: Fix definition of LOMIX AINLMUX Bypass Volume control HyeongJun An
2026-10-14 9:35 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 05/13] ASoC: codecs: wm8983: Fix definition of ADC 128x Oversampling control HyeongJun An
2026-10-14 9:39 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 06/13] ASoC: codecs: wm8985: " HyeongJun An
2026-10-14 9:41 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 07/13] ASoC: codecs: wm8994: Fix definition of WM8958 noise gate hold time controls HyeongJun An
2026-10-14 9:46 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 08/13] ASoC: codecs: wm8955: Fix definition of Treble Cutoff control HyeongJun An
2026-10-14 9:51 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 09/13] ASoC: codecs: wm_hubs: Fix definition of MIXINR to MIXOUTR volume control HyeongJun An
2026-10-14 9:56 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 10/13] ASoC: codecs: wm8737: Fix definition of zero cross switches HyeongJun An
2026-10-14 9:58 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 11/13] ASoC: codecs: wm5100: Fix definition of EQ3 Band 1 Volume control HyeongJun An
2026-10-14 9:59 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 12/13] ASoC: codecs: wm8750: Fix definition of ALC Capture NG Type control HyeongJun An
2026-10-14 10:01 ` Charles Keepax
2026-10-14 6:32 ` [PATCH 13/13] ASoC: codecs: wm8510: Fix definition of ADC Inversion Switch control HyeongJun An
2026-10-14 10:04 ` Charles Keepax
2026-10-14 13:27 ` [PATCH 00/13] ASoC: codecs: Fix Wolfson control definitions that write another control's bits Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=818cf8d7ae81fa46c67cd5b4d01291a63f44c9a1.1791959026.git.sammiee5311@gmail.com \
--to=sammiee5311@gmail.com \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®