Skip to contentSkip to conversation

ASoC: TWL4030: fix analog right microphone path

PATCH Applied Peter Ujfalusi 3 participants 5 messages May 19, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ASoC: TWL4030: fix analog right microphone path

Hello,

Here is the fix for AUXR recording that Anuj reported.
Bit 2 is selecting the AUXR input in the ANAMICR register and not bit 1.

---
Peter Ujfalusi (1):
ASoC: TWL4030: Fix Analog capture path for AUXR

 sound/soc/codecs/twl4030.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 ASoC: TWL4030: Fix Analog capture path for AUXR

AUXR is selected by bit 2 and not by bit 1 in the ANAMICR register.

---
 sound/soc/codecs/twl4030.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/twl4030.c +1 -1
index afe7879..70d9500 100644
@@ -438,7 +438,7 @@ static const struct snd_kcontrol_new twl4030_dapm_analoglmic_controls[] = {
 /* Right analog microphone selection */
 static const struct snd_kcontrol_new twl4030_dapm_analogrmic_controls[] = {
 	SOC_DAPM_SINGLE("Sub mic", TWL4030_REG_ANAMICR, 0, 1, 0),
-	SOC_DAPM_SINGLE("AUXR", TWL4030_REG_ANAMICR, 1, 1, 0),
+	SOC_DAPM_SINGLE("AUXR", TWL4030_REG_ANAMICR, 2, 1, 0),
 };
 
 /* TX1 L/R Analog/Digital microphone selection */
Signature · 1 line
1.6.3
Applied
#2 lore raw

Re: [PATCH 1/1] ASoC: TWL4030: Fix Analog capture path for AUXR

Quoted 3 lines · Peter Ujfalusi

AUXR is selected by bit 2 and not by bit 1 in the ANAMICR register.

Applied, thanks.

#3 lore raw

Re: [PATCH 1/1] ASoC: TWL4030: Fix Analog capture path for AUXR

What should be the quickest way to merge all the ASoC patches which have come after my 2.6.29-rc3 release? I have a found a solution for my tuck noise problem now but cannot apply the patch as it is, because the tip has moved ahead from my baseline by several commits. I cannot move my baseline so have to pull only sound/soc related patches.

Is there any repository where I will find only asoc related patches? Or what should be the ideal way to handle this?

Thanks and Regards,
Anuj Aggarwal

Quoted 13 lines

-----Original Message-----
From: Mark Brown [mailto:[email protected]]
Sent: Tuesday, May 19, 2009 2:20 PM
To: Peter Ujfalusi
Cc: [email protected]; [email protected]; Aggarwal, Anuj
Subject: Re: [PATCH 1/1] ASoC: TWL4030: Fix Analog capture path for AUXR

Quoted 3 lines · Peter Ujfalusi

AUXR is selected by bit 2 and not by bit 1 in the ANAMICR register.

Applied, thanks.

#4 lore raw

Re: [PATCH 1/1] ASoC: TWL4030: Fix Analog capture path for AUXR

Quoted 3 lines · Anuj

What should be the quickest way to merge all the ASoC patches which have come after my 2.6.29-rc3 release? I have a found a solution for my tuck noise problem now but cannot apply the patch as it is, because the tip has moved ahead from my baseline by several commits. I cannot move my baseline so have to pull only sound/soc related patches.

Is there any repository where I will find only asoc related patches? Or what should be the ideal way to handle this?

You want the topic/asoc branch of:

git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

That'll have some additional stuff from mainline due to some merge ups of ALSA-wide stuff but it should all be safe given that it's targetting 2.6.30.