[alsa-devel] [PATCH] soc - Include register in DAPM debug output
Takashi Iwai
tiwai at suse.de
Mon Apr 14 12:24:50 CEST 2008
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 at 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
>
More information about the Alsa-devel
mailing list