alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SOC: UDA134x: Remove POWER_OFF_ON_STANDBY define.
@ 2011-05-03 12:46 Marek Belisko
  2011-05-08 14:10 ` Liam Girdwood
  2011-05-08 14:34 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Belisko @ 2011-05-03 12:46 UTC (permalink / raw)
  To: tiwai, perex; +Cc: linux-kernel, alsa-devel, lrg, broonie, Marek Belisko

Define POWER_OFF_ON_STANDBY cause trobles when trying to get some
sound from codec because code for bias setup was not compiled
(define wasn't defined). This define was removed in commit:
cc3202f5 but again introduced by commit: f0fba2ad1 which then
completely break codec functionality so remove it again.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 sound/soc/codecs/uda134x.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 48ffd40..a7b8f30 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -601,9 +601,7 @@ static struct snd_soc_codec_driver soc_codec_dev_uda134x = {
 	.reg_cache_step = 1,
 	.read = uda134x_read_reg_cache,
 	.write = uda134x_write,
-#ifdef POWER_OFF_ON_STANDBY
 	.set_bias_level = uda134x_set_bias_level,
-#endif
 };
 
 static int __devinit uda134x_codec_probe(struct platform_device *pdev)
-- 
1.7.4.1

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

* Re: [PATCH] SOC: UDA134x: Remove POWER_OFF_ON_STANDBY define.
  2011-05-03 12:46 [PATCH] SOC: UDA134x: Remove POWER_OFF_ON_STANDBY define Marek Belisko
@ 2011-05-08 14:10 ` Liam Girdwood
  2011-05-08 14:34 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-05-08 14:10 UTC (permalink / raw)
  To: Marek Belisko; +Cc: tiwai, alsa-devel, broonie, linux-kernel

On Tue, 2011-05-03 at 14:46 +0200, Marek Belisko wrote:
> Define POWER_OFF_ON_STANDBY cause trobles when trying to get some
> sound from codec because code for bias setup was not compiled
> (define wasn't defined). This define was removed in commit:
> cc3202f5 but again introduced by commit: f0fba2ad1 which then
> completely break codec functionality so remove it again.
> 
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  sound/soc/codecs/uda134x.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
> index 48ffd40..a7b8f30 100644
> --- a/sound/soc/codecs/uda134x.c
> +++ b/sound/soc/codecs/uda134x.c
> @@ -601,9 +601,7 @@ static struct snd_soc_codec_driver soc_codec_dev_uda134x = {
>  	.reg_cache_step = 1,
>  	.read = uda134x_read_reg_cache,
>  	.write = uda134x_write,
> -#ifdef POWER_OFF_ON_STANDBY
>  	.set_bias_level = uda134x_set_bias_level,
> -#endif
>  };
>  
>  static int __devinit uda134x_codec_probe(struct platform_device *pdev)

Acked-by: Liam Girdwood <lrg@ti.com>

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

* Re: [PATCH] SOC: UDA134x: Remove POWER_OFF_ON_STANDBY define.
  2011-05-03 12:46 [PATCH] SOC: UDA134x: Remove POWER_OFF_ON_STANDBY define Marek Belisko
  2011-05-08 14:10 ` Liam Girdwood
@ 2011-05-08 14:34 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-05-08 14:34 UTC (permalink / raw)
  To: Marek Belisko; +Cc: tiwai, alsa-devel, lrg, linux-kernel

On Tue, May 03, 2011 at 02:46:32PM +0200, Marek Belisko wrote:
> Define POWER_OFF_ON_STANDBY cause trobles when trying to get some
> sound from codec because code for bias setup was not compiled
> (define wasn't defined). This define was removed in commit:
> cc3202f5 but again introduced by commit: f0fba2ad1 which then
> completely break codec functionality so remove it again.

Applied, thanks.

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

end of thread, other threads:[~2011-05-08 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03 12:46 [PATCH] SOC: UDA134x: Remove POWER_OFF_ON_STANDBY define Marek Belisko
2011-05-08 14:10 ` Liam Girdwood
2011-05-08 14:34 ` 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).