All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc - Include register in DAPM debug output
@ 2008-03-26 16:12 Mark Brown
  2008-04-14 10:24 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2008-03-26 16:12 UTC (permalink / raw
  To: Takashi Iwai; +Cc: alsa-devel, Mark Brown

When logging register changes in DAPM debug output include the register
number.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/soc-dapm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index abac684..e0637d8 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -226,7 +226,7 @@ static int dapm_update_bits(struct snd_soc_dapm_widget *widget)
 		snd_soc_write(codec, widget->reg, new);
 		pop_wait(POP_TIME);
 	}
-	dbg("reg old %x new %x change %d\n", old, new, change);
+	dbg("reg %x old %x new %x change %d\n", widget->reg, old, new, change);
 	return change;
 }
 
-- 
1.5.4.4

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

* Re: [PATCH] soc - Include register in DAPM debug output
  2008-03-26 16:12 [PATCH] soc - Include register in DAPM debug output Mark Brown
@ 2008-04-14 10:24 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2008-04-14 10:24 UTC (permalink / raw
  To: Mark Brown; +Cc: alsa-devel

At Wed, 26 Mar 2008 16:12:19 +0000,
Mark Brown wrote:
> 
> When logging register changes in DAPM debug output include the register
> number.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Thanks, applied to ALSA tree.


Takashi

> ---
>  sound/soc/soc-dapm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
> index abac684..e0637d8 100644
> --- a/sound/soc/soc-dapm.c
> +++ b/sound/soc/soc-dapm.c
> @@ -226,7 +226,7 @@ static int dapm_update_bits(struct snd_soc_dapm_widget *widget)
>  		snd_soc_write(codec, widget->reg, new);
>  		pop_wait(POP_TIME);
>  	}
> -	dbg("reg old %x new %x change %d\n", old, new, change);
> +	dbg("reg %x old %x new %x change %d\n", widget->reg, old, new, change);
>  	return change;
>  }
>  
> -- 
> 1.5.4.4
> 

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

end of thread, other threads:[~2008-04-14 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 16:12 [PATCH] soc - Include register in DAPM debug output Mark Brown
2008-04-14 10:24 ` Takashi Iwai

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.