aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-05-13 10:06:14 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:10:30 -0400
commit680ff0ac6d0c84f14a2e540f64521a9fa80d8661 (patch)
treef532789bee72426aae3305ad57fdacd97d1ed00d /sound/pci/hda
parent89c87bf8c12e27fbbed971380e21895cace3a065 (diff)
[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 <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 70e3cb6dd252..56941031ab0d 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,
509 /* FIXME: support for multiple AFGs? */ 509 /* FIXME: support for multiple AFGs? */
510 codec->afg = look_for_afg_node(codec); 510 codec->afg = look_for_afg_node(codec);
511 if (! codec->afg) { 511 if (! codec->afg) {
512 snd_printk(KERN_ERR "hda_codec: no AFG node found\n"); 512 snd_printdd("hda_codec: no AFG node found\n");
513 snd_hda_codec_free(codec); 513 snd_hda_codec_free(codec);
514 return -ENODEV; 514 return -ENODEV;
515 } 515 }