From: Takashi Iwai Date: Thu, 7 Feb 2008 11:06:32 +0000 (+0100) Subject: [ALSA] hda-intel - Fix a compile error with CONFIG_SND_DEBUG_DETECT=y X-Git-Tag: v2.6.26-rc1~1087^2~232 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21c7b0819f0d04788b2d3341f5062744373589a1;p=linux-2.6 [ALSA] hda-intel - Fix a compile error with CONFIG_SND_DEBUG_DETECT=y Forgot to get rid of the obsolete fragsize field from a debug print. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index ec3ddda30b..f3242e1a73 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1308,9 +1308,8 @@ static int azx_pcm_prepare(struct snd_pcm_substream *substream) return -EINVAL; } - snd_printdd("azx_pcm_prepare: bufsize=0x%x, fragsize=0x%x, " - "format=0x%x\n", - azx_dev->bufsize, azx_dev->fragsize, azx_dev->format_val); + snd_printdd("azx_pcm_prepare: bufsize=0x%x, format=0x%x\n", + azx_dev->bufsize, azx_dev->format_val); if (azx_setup_periods(substream, azx_dev) < 0) return -EINVAL; azx_setup_controller(chip, azx_dev);