All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.27?] ASoC: Correct inverted Mic PGA Switch control in wm8510 driver
@ 2008-10-03 13:48 Mark Brown
  2008-10-03 17:20 ` Troy Kisky
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2008-10-03 13:48 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Mark Brown

Mic PGA Switch should be inverted in the WM8510 driver but isn't.

Reported-by: ext-jukka.hynninen@vaisala.com
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---

This bugfix applies to 2.6.27 but the issue is not very severe - it'd be
good to get it in but it's not critical.

 sound/soc/codecs/wm8510.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c
index 75ed041..f644da6 100644
--- a/sound/soc/codecs/wm8510.c
+++ b/sound/soc/codecs/wm8510.c
@@ -199,7 +199,7 @@ SOC_DAPM_SINGLE("PCM Playback Switch", WM8510_MONOMIX, 0, 1, 0),
 };
 
 static const struct snd_kcontrol_new wm8510_boost_controls[] = {
-SOC_DAPM_SINGLE("Mic PGA Switch", WM8510_INPPGA,  6, 1, 0),
+SOC_DAPM_SINGLE("Mic PGA Switch", WM8509_INPPGA,  6, 1, 1),
 SOC_DAPM_SINGLE("Aux Volume", WM8510_ADCBOOST, 0, 7, 0),
 SOC_DAPM_SINGLE("Mic Volume", WM8510_ADCBOOST, 4, 7, 0),
 };
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH 2.6.27?] ASoC: Correct inverted Mic PGA Switch control in wm8510 driver
@ 2008-10-06 10:33 Mark Brown
  2008-10-07  8:04 ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2008-10-06 10:33 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Mark Brown

Mic PGA Switch should be inverted in the WM8510 driver but isn't.

Reported-by: ext-jukka.hynninen@vaisala.com
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8510.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c
index 75ed041..9a37c8d 100644
--- a/sound/soc/codecs/wm8510.c
+++ b/sound/soc/codecs/wm8510.c
@@ -199,7 +199,7 @@ SOC_DAPM_SINGLE("PCM Playback Switch", WM8510_MONOMIX, 0, 1, 0),
 };
 
 static const struct snd_kcontrol_new wm8510_boost_controls[] = {
-SOC_DAPM_SINGLE("Mic PGA Switch", WM8510_INPPGA,  6, 1, 0),
+SOC_DAPM_SINGLE("Mic PGA Switch", WM8510_INPPGA,  6, 1, 1),
 SOC_DAPM_SINGLE("Aux Volume", WM8510_ADCBOOST, 0, 7, 0),
 SOC_DAPM_SINGLE("Mic Volume", WM8510_ADCBOOST, 4, 7, 0),
 };
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-07 10:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03 13:48 [PATCH 2.6.27?] ASoC: Correct inverted Mic PGA Switch control in wm8510 driver Mark Brown
2008-10-03 17:20 ` Troy Kisky
2008-10-03 17:47   ` Mark Brown
2008-10-04 16:35     ` Takashi Iwai
2008-10-04 18:16       ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2008-10-06 10:33 Mark Brown
2008-10-07  8:04 ` Takashi Iwai
2008-10-07 10:22   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.