]> Pileus Git - ~andy/linux/commitdiff
[ALSA] Suppress error message
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 May 2005 14:06:14 +0000 (16:06 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:10:30 +0000 (10:10 +0200)
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 <tiwai@suse.de>
sound/pci/hda/hda_codec.c

index 70e3cb6dd252a981b1c1953774970bfa418a384e..56941031ab0d26dcf4c1f7ab2ee50b78ecb01744 100644 (file)
@@ -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;
        }