All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH - try2] ASoC: TPA6130A2: Make tpa6130a2_power as static
@ 2009-10-12  8:43 Peter Ujfalusi
  2009-10-12 12:41 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Ujfalusi @ 2009-10-12  8:43 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie, eduardo.valentin

The power for the amplifier should be handled internally
by the tpa6130a2 driver.

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

diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c
index 0a6e7b4..6b650c1 100644
--- a/sound/soc/codecs/tpa6130a2.c
+++ b/sound/soc/codecs/tpa6130a2.c
@@ -106,7 +106,7 @@ static void tpa6130a2_initialize(void)
 		tpa6130a2_i2c_write(i, data->regs[i]);
 }

-void tpa6130a2_power(int power)
+static void tpa6130a2_power(int power)
 {
 	struct	tpa6130a2_data *data;
 	u8	val;
diff --git a/sound/soc/codecs/tpa6130a2.h b/sound/soc/codecs/tpa6130a2.h
index 6a794f1..57e867f 100644
--- a/sound/soc/codecs/tpa6130a2.h
+++ b/sound/soc/codecs/tpa6130a2.h
@@ -57,6 +57,5 @@
 #define TPA6130A2_VERSION_MASK		(0x0f)

 extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
-extern void tpa6130a2_power(int power);

 #endif /* __TPA6130A2_H__ */
--
1.6.5.rc2

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

* [PATCH - try2] ASoC: TPA6130A2: Make tpa6130a2_power as static
  2009-10-12 11:48 [PATCH] ASoC: Codec driver for Texas Instruments tlv320dac33 codec Peter Ujfalusi
@ 2009-10-12 11:48 ` Peter Ujfalusi
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Ujfalusi @ 2009-10-12 11:48 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie

The power for the amplifier should be handled internally
by the tpa6130a2 driver.

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

diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c
index 0a6e7b4..6b650c1 100644
--- a/sound/soc/codecs/tpa6130a2.c
+++ b/sound/soc/codecs/tpa6130a2.c
@@ -106,7 +106,7 @@ static void tpa6130a2_initialize(void)
 		tpa6130a2_i2c_write(i, data->regs[i]);
 }

-void tpa6130a2_power(int power)
+static void tpa6130a2_power(int power)
 {
 	struct	tpa6130a2_data *data;
 	u8	val;
diff --git a/sound/soc/codecs/tpa6130a2.h b/sound/soc/codecs/tpa6130a2.h
index 6a794f1..57e867f 100644
--- a/sound/soc/codecs/tpa6130a2.h
+++ b/sound/soc/codecs/tpa6130a2.h
@@ -57,6 +57,5 @@
 #define TPA6130A2_VERSION_MASK		(0x0f)

 extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
-extern void tpa6130a2_power(int power);

 #endif /* __TPA6130A2_H__ */
--
1.6.5.rc2

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

* Re: [PATCH - try2] ASoC: TPA6130A2: Make tpa6130a2_power as static
  2009-10-12  8:43 [PATCH - try2] ASoC: TPA6130A2: Make tpa6130a2_power as static Peter Ujfalusi
@ 2009-10-12 12:41 ` Mark Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2009-10-12 12:41 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: alsa-devel, eduardo.valentin

On Mon, Oct 12, 2009 at 11:43:55AM +0300, Peter Ujfalusi wrote:
> The power for the amplifier should be handled internally
> by the tpa6130a2 driver.

> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>

Applied, thanks.

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

end of thread, other threads:[~2009-10-12 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12  8:43 [PATCH - try2] ASoC: TPA6130A2: Make tpa6130a2_power as static Peter Ujfalusi
2009-10-12 12:41 ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2009-10-12 11:48 [PATCH] ASoC: Codec driver for Texas Instruments tlv320dac33 codec Peter Ujfalusi
2009-10-12 11:48 ` [PATCH - try2] ASoC: TPA6130A2: Make tpa6130a2_power as static Peter Ujfalusi

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.