Skip to content

Commit

Permalink
[ALSA] ASoC debug output build breakage
Browse files Browse the repository at this point in the history
This patch fixes a build failure when ASoC debug is enabled.

Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Liam Girdwood authored and Jaroslav Kysela committed Feb 9, 2007
1 parent 35f6083 commit b5c5fd2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,10 +575,11 @@ static int soc_pcm_open(struct snd_pcm_substream *substream)
}

dbg("asoc: %s <-> %s info:\n", rtd->codec_dai->name, rtd->cpu_dai->name);
dbg("asoc: rate mask 0x%x \nasoc: min ch %d max ch %d\n"
"asoc: min rate %d max rate %d\n",
runtime->hw.rates, runtime->hw.channels_min,
runtime->hw.channels_max, runtime->hw.rate_min, runtime->hw.rate_max);
dbg("asoc: rate mask 0x%x\n", runtime->hw.rates);
dbg("asoc: min ch %d max ch %d\n", runtime->hw.channels_min,
runtime->hw.channels_max);
dbg("asoc: min rate %d max rate %d\n", runtime->hw.rate_min,
runtime->hw.rate_max);


if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
Expand Down

0 comments on commit b5c5fd2

Please sign in to comment.