alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Rename ALC5632 MICBIAS to common name convention.
@ 2011-12-12 19:43 Leon Romanovsky
  2011-12-13  1:36 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Leon Romanovsky @ 2011-12-12 19:43 UTC (permalink / raw)
  To: broonie, lrg; +Cc: alsa-devel, Leon Romanovsky

Signed-off-by: Leon Romanovsky <leon@leon.nu>
---
 sound/soc/codecs/alc5632.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 08613c7..390e437 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -379,8 +379,8 @@ SND_SOC_DAPM_PGA("MIC1 PGA", ALC5632_PWR_MANAG_ADD3, 3, 0, NULL, 0),
 SND_SOC_DAPM_PGA("MIC2 PGA", ALC5632_PWR_MANAG_ADD3, 2, 0, NULL, 0),
 SND_SOC_DAPM_PGA("MIC1 Pre Amp", ALC5632_PWR_MANAG_ADD3, 1, 0, NULL, 0),
 SND_SOC_DAPM_PGA("MIC2 Pre Amp", ALC5632_PWR_MANAG_ADD3, 0, 0, NULL, 0),
-SND_SOC_DAPM_SUPPLY("Mic Bias1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
-SND_SOC_DAPM_SUPPLY("Mic Bias2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),
+SND_SOC_DAPM_SUPPLY("MICBIAS1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
+SND_SOC_DAPM_SUPPLY("MICBIAS2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),
 
 SND_SOC_DAPM_PGA_E("D Amp", ALC5632_PWR_MANAG_ADD2, 14, 0, NULL, 0,
 	amp_mixer_event, SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
-- 
1.7.3.4

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

* Re: [PATCH] ASoC: Rename ALC5632 MICBIAS to common name convention.
  2011-12-12 19:43 [PATCH] ASoC: Rename ALC5632 MICBIAS to common name convention Leon Romanovsky
@ 2011-12-13  1:36 ` Mark Brown
  2011-12-13  6:25   ` Leon Romanovsky
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2011-12-13  1:36 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: alsa-devel, lrg

On Mon, Dec 12, 2011 at 09:43:45PM +0200, Leon Romanovsky wrote:

> -SND_SOC_DAPM_SUPPLY("Mic Bias1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
> -SND_SOC_DAPM_SUPPLY("Mic Bias2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),
> +SND_SOC_DAPM_SUPPLY("MICBIAS1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
> +SND_SOC_DAPM_SUPPLY("MICBIAS2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),

What does the datasheet say the pins are called?

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

* Re: [PATCH] ASoC: Rename ALC5632 MICBIAS to common name convention.
  2011-12-13  1:36 ` Mark Brown
@ 2011-12-13  6:25   ` Leon Romanovsky
  2011-12-13  6:28     ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Leon Romanovsky @ 2011-12-13  6:25 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, lrg

On Tue, Dec 13, 2011 at 03:36, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:
>
> On Mon, Dec 12, 2011 at 09:43:45PM +0200, Leon Romanovsky wrote:
>
> > -SND_SOC_DAPM_SUPPLY("Mic Bias1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
> > -SND_SOC_DAPM_SUPPLY("Mic Bias2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),
> > +SND_SOC_DAPM_SUPPLY("MICBIAS1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
> > +SND_SOC_DAPM_SUPPLY("MICBIAS2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),
>
> What does the datasheet say the pins are called?
MICBIAS
http://ac100.wikispaces.com/file/view/alc5632_micbiases.PNG/285333934/alc5632_micbiases.PNG




--
Leon Romanovsky | Independent Linux Consultant
        www.leon.nu | leon@leon.nu
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: [PATCH] ASoC: Rename ALC5632 MICBIAS to common name convention.
  2011-12-13  6:25   ` Leon Romanovsky
@ 2011-12-13  6:28     ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2011-12-13  6:28 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: alsa-devel, lrg

On Tue, Dec 13, 2011 at 08:25:29AM +0200, Leon Romanovsky wrote:
> On Tue, Dec 13, 2011 at 03:36, Mark Brown

> > > +SND_SOC_DAPM_SUPPLY("MICBIAS1", ALC5632_PWR_MANAG_ADD1, 3, 0, NULL, 0),
> > > +SND_SOC_DAPM_SUPPLY("MICBIAS2", ALC5632_PWR_MANAG_ADD1, 2, 0, NULL, 0),

> > What does the datasheet say the pins are called?
> MICBIAS
> http://ac100.wikispaces.com/file/view/alc5632_micbiases.PNG/285333934/alc5632_micbiases.PNG

OK - you should've said this in your changelog, that's what the
convention is, to use the pin names.

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

end of thread, other threads:[~2011-12-13  6:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12 19:43 [PATCH] ASoC: Rename ALC5632 MICBIAS to common name convention Leon Romanovsky
2011-12-13  1:36 ` Mark Brown
2011-12-13  6:25   ` Leon Romanovsky
2011-12-13  6:28     ` 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).