Commit 680ff0ac authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[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: default avatarTakashi Iwai <tiwai@suse.de>
parent 89c87bf8
...@@ -509,7 +509,7 @@ int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr, ...@@ -509,7 +509,7 @@ int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr,
/* FIXME: support for multiple AFGs? */ /* FIXME: support for multiple AFGs? */
codec->afg = look_for_afg_node(codec); codec->afg = look_for_afg_node(codec);
if (! codec->afg) { 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); snd_hda_codec_free(codec);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment