From: Takashi Iwai Date: Fri, 13 May 2005 14:06:14 +0000 (+0200) Subject: [ALSA] Suppress error message X-Git-Tag: v2.6.13-rc1~68^2~626 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=680ff0ac6d0c84f14a2e540f64521a9fa80d8661;p=linux-2.6 [ALSA] Suppress error message HDA Codec driver Suppressing the error message regarding no AFG. This is often harmless (e.g. probing a modem codec). Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 70e3cb6dd2..56941031ab 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -509,7 +509,7 @@ int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr, /* FIXME: support for multiple AFGs? */ codec->afg = look_for_afg_node(codec); if (! codec->afg) { - snd_printk(KERN_ERR "hda_codec: no AFG node found\n"); + snd_printdd("hda_codec: no AFG node found\n"); snd_hda_codec_free(codec); return -ENODEV; }