* [PATCH] ASoC: SSM2602: add SND control for mic boost2 and default it to off
@ 2010-03-09 17:58 Mike Frysinger
2010-03-09 20:50 ` Liam Girdwood
2010-03-10 12:00 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Mike Frysinger @ 2010-03-09 17:58 UTC (permalink / raw)
To: alsa-devel, Mark Brown; +Cc: Cliff Cai
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
this is fine for 2.6.34 or 2.6.35
sound/soc/codecs/ssm2602.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index d2ff1cd..942f5dc 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -139,6 +139,7 @@ SOC_DOUBLE_R("Capture Volume", SSM2602_LINVOL, SSM2602_RINVOL, 0, 31, 0),
SOC_DOUBLE_R("Capture Switch", SSM2602_LINVOL, SSM2602_RINVOL, 7, 1, 1),
SOC_SINGLE("Mic Boost (+20dB)", SSM2602_APANA, 0, 1, 0),
+SOC_SINGLE("Mic Boost2 (+20dB)", SSM2602_APANA, 7, 1, 0),
SOC_SINGLE("Mic Switch", SSM2602_APANA, 1, 1, 1),
SOC_SINGLE("Sidetone Playback Volume", SSM2602_APANA, 6, 3, 1),
@@ -604,8 +605,7 @@ static int ssm2602_init(struct snd_soc_device *socdev)
reg = ssm2602_read_reg_cache(codec, SSM2602_ROUT1V);
ssm2602_write(codec, SSM2602_ROUT1V, reg | ROUT1V_RLHP_BOTH);
/*select Line in as default input*/
- ssm2602_write(codec, SSM2602_APANA,
- APANA_ENABLE_MIC_BOOST2 | APANA_SELECT_DAC |
+ ssm2602_write(codec, SSM2602_APANA, APANA_SELECT_DAC |
APANA_ENABLE_MIC_BOOST);
ssm2602_write(codec, SSM2602_PWR, 0);
--
1.7.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: SSM2602: add SND control for mic boost2 and default it to off
2010-03-09 17:58 [PATCH] ASoC: SSM2602: add SND control for mic boost2 and default it to off Mike Frysinger
@ 2010-03-09 20:50 ` Liam Girdwood
2010-03-10 12:00 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-03-09 20:50 UTC (permalink / raw)
To: Mike Frysinger; +Cc: alsa-devel, Mark Brown, Cliff Cai
On Tue, 2010-03-09 at 12:58 -0500, Mike Frysinger wrote:
> From: Cliff Cai <cliff.cai@analog.com>
>
> Signed-off-by: Cliff Cai <cliff.cai@analog.com>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: SSM2602: add SND control for mic boost2 and default it to off
2010-03-09 17:58 [PATCH] ASoC: SSM2602: add SND control for mic boost2 and default it to off Mike Frysinger
2010-03-09 20:50 ` Liam Girdwood
@ 2010-03-10 12:00 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2010-03-10 12:00 UTC (permalink / raw)
To: Mike Frysinger; +Cc: alsa-devel, Cliff Cai
On Tue, Mar 09, 2010 at 12:58:09PM -0500, Mike Frysinger wrote:
> From: Cliff Cai <cliff.cai@analog.com>
>
> Signed-off-by: Cliff Cai <cliff.cai@analog.com>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-10 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 17:58 [PATCH] ASoC: SSM2602: add SND control for mic boost2 and default it to off Mike Frysinger
2010-03-09 20:50 ` Liam Girdwood
2010-03-10 12:00 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).