Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup
@ 2008-12-10 10:51 Peter Ujfalusi
  2008-12-10 10:51 ` [PATCH 1/3] ASoC: TWL4030: Add missing Carkit output Peter Ujfalusi
  2008-12-10 11:42 ` [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2008-12-10 10:51 UTC (permalink / raw)
  To: alsa-devel; +Cc: sakoman

Hello,

The CarkitL/R DAPM output somehow got lost, the first patch adds it.
Really small cleanup for line wrap in the mux switch texts.
DAC names changed in order to avoid confusion with the mux switch names.

---
Peter Ujfalusi (3):
 ASoC: TWL4030: Add missing Carkit output
 ASoC: TWL4030: Small cleanup
 ASoC: TWL4030: Change the name for the DACs

 sound/soc/codecs/twl4030.c |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

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

* [PATCH 1/3] ASoC: TWL4030: Add missing Carkit output
  2008-12-10 10:51 [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup Peter Ujfalusi
@ 2008-12-10 10:51 ` Peter Ujfalusi
  2008-12-10 10:51   ` [PATCH 2/3] ASoC: TWL4030: Small cleanup Peter Ujfalusi
  2008-12-10 11:42 ` [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup Mark Brown
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Ujfalusi @ 2008-12-10 10:51 UTC (permalink / raw)
  To: alsa-devel; +Cc: sakoman, Peter Ujfalusi

SND_SOC_DAPM_OUTPUT definition for carkitL/R was missing.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
---
 sound/soc/codecs/twl4030.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index 373daa4..df9f2ce 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -761,6 +761,8 @@ static const struct snd_soc_dapm_widget twl4030_dapm_widgets[] = {
 	SND_SOC_DAPM_OUTPUT("PREDRIVER"),
 	SND_SOC_DAPM_OUTPUT("HSOL"),
 	SND_SOC_DAPM_OUTPUT("HSOR"),
+	SND_SOC_DAPM_OUTPUT("CARKITL"),
+	SND_SOC_DAPM_OUTPUT("CARKITR"),
 	SND_SOC_DAPM_OUTPUT("HFL"),
 	SND_SOC_DAPM_OUTPUT("HFR"),
 
-- 
1.6.0.4

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

* [PATCH 2/3] ASoC: TWL4030: Small cleanup
  2008-12-10 10:51 ` [PATCH 1/3] ASoC: TWL4030: Add missing Carkit output Peter Ujfalusi
@ 2008-12-10 10:51   ` Peter Ujfalusi
  2008-12-10 10:51     ` [PATCH 3/3] ASoC: TWL4030: Change the name for the DACs Peter Ujfalusi
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Ujfalusi @ 2008-12-10 10:51 UTC (permalink / raw)
  To: alsa-devel; +Cc: sakoman, Peter Ujfalusi

The mux switch related texts fits to on line, no need to wrap
them.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
---
 sound/soc/codecs/twl4030.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index df9f2ce..e3a7115 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -192,8 +192,7 @@ static void twl4030_init_chip(struct snd_soc_codec *codec)
 
 /* Earpiece */
 static const char *twl4030_earpiece_texts[] =
-		{"Off", "DACL1", "DACL2", "Invalid",
-		"DACR1"};
+		{"Off", "DACL1", "DACL2", "Invalid", "DACR1"};
 
 static const struct soc_enum twl4030_earpiece_enum =
 	SOC_ENUM_SINGLE(TWL4030_REG_EAR_CTL, 1,
@@ -205,8 +204,7 @@ SOC_DAPM_ENUM("Route", twl4030_earpiece_enum);
 
 /* PreDrive Left */
 static const char *twl4030_predrivel_texts[] =
-		{"Off", "DACL1", "DACL2", "Invalid",
-		"DACR2"};
+		{"Off", "DACL1", "DACL2", "Invalid", "DACR2"};
 
 static const struct soc_enum twl4030_predrivel_enum =
 	SOC_ENUM_SINGLE(TWL4030_REG_PREDL_CTL, 1,
@@ -218,8 +216,7 @@ SOC_DAPM_ENUM("Route", twl4030_predrivel_enum);
 
 /* PreDrive Right */
 static const char *twl4030_predriver_texts[] =
-		{"Off", "DACR1", "DACR2", "Invalid",
-		"DACL2"};
+		{"Off", "DACR1", "DACR2", "Invalid", "DACL2"};
 
 static const struct soc_enum twl4030_predriver_enum =
 	SOC_ENUM_SINGLE(TWL4030_REG_PREDR_CTL, 1,
-- 
1.6.0.4

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

* [PATCH 3/3] ASoC: TWL4030: Change the name for the DACs
  2008-12-10 10:51   ` [PATCH 2/3] ASoC: TWL4030: Small cleanup Peter Ujfalusi
@ 2008-12-10 10:51     ` Peter Ujfalusi
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2008-12-10 10:51 UTC (permalink / raw)
  To: alsa-devel; +Cc: sakoman, Peter Ujfalusi

To avoid confusion the names for the DACs changed:
DACL1 -> DAC Left1
...

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
---
 sound/soc/codecs/twl4030.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index e3a7115..aa9f855 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -764,13 +764,13 @@ static const struct snd_soc_dapm_widget twl4030_dapm_widgets[] = {
 	SND_SOC_DAPM_OUTPUT("HFR"),
 
 	/* DACs */
-	SND_SOC_DAPM_DAC("DACR1", "Right Front Playback",
+	SND_SOC_DAPM_DAC("DAC Right1", "Right Front Playback",
 			TWL4030_REG_AVDAC_CTL, 0, 0),
-	SND_SOC_DAPM_DAC("DACL1", "Left Front Playback",
+	SND_SOC_DAPM_DAC("DAC Left1", "Left Front Playback",
 			TWL4030_REG_AVDAC_CTL, 1, 0),
-	SND_SOC_DAPM_DAC("DACR2", "Right Rear Playback",
+	SND_SOC_DAPM_DAC("DAC Right2", "Right Rear Playback",
 			TWL4030_REG_AVDAC_CTL, 2, 0),
-	SND_SOC_DAPM_DAC("DACL2", "Left Rear Playback",
+	SND_SOC_DAPM_DAC("DAC Left2", "Left Rear Playback",
 			TWL4030_REG_AVDAC_CTL, 3, 0),
 
 	/* Analog PGAs */
@@ -816,10 +816,10 @@ static const struct snd_soc_dapm_widget twl4030_dapm_widgets[] = {
 };
 
 static const struct snd_soc_dapm_route intercon[] = {
-	{"ARXL1_APGA", NULL, "DACL1"},
-	{"ARXR1_APGA", NULL, "DACR1"},
-	{"ARXL2_APGA", NULL, "DACL2"},
-	{"ARXR2_APGA", NULL, "DACR2"},
+	{"ARXL1_APGA", NULL, "DAC Left1"},
+	{"ARXR1_APGA", NULL, "DAC Right1"},
+	{"ARXL2_APGA", NULL, "DAC Left2"},
+	{"ARXR2_APGA", NULL, "DAC Right2"},
 
 	/* Internal playback routings */
 	/* Earpiece */
-- 
1.6.0.4

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

* Re: [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup
  2008-12-10 10:51 [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup Peter Ujfalusi
  2008-12-10 10:51 ` [PATCH 1/3] ASoC: TWL4030: Add missing Carkit output Peter Ujfalusi
@ 2008-12-10 11:42 ` Mark Brown
  1 sibling, 0 replies; 5+ messages in thread
From: Mark Brown @ 2008-12-10 11:42 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: sakoman, alsa-devel

On Wed, Dec 10, 2008 at 12:51:45PM +0200, Peter Ujfalusi wrote:

> The CarkitL/R DAPM output somehow got lost, the first patch adds it.
> Really small cleanup for line wrap in the mux switch texts.
> DAC names changed in order to avoid confusion with the mux switch names.

Applied all, thanks.

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

end of thread, other threads:[~2008-12-10 11:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 10:51 [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup Peter Ujfalusi
2008-12-10 10:51 ` [PATCH 1/3] ASoC: TWL4030: Add missing Carkit output Peter Ujfalusi
2008-12-10 10:51   ` [PATCH 2/3] ASoC: TWL4030: Small cleanup Peter Ujfalusi
2008-12-10 10:51     ` [PATCH 3/3] ASoC: TWL4030: Change the name for the DACs Peter Ujfalusi
2008-12-10 11:42 ` [PATCH 0/3] ASoC: TWL4030: Fixes and small cleanup Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox