diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-03-17 09:01:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-17 09:01:38 +0100 |
commit | e04dd2d21bb70dd707d569d4ac843149b9acfb27 (patch) | |
tree | e3a751c9a9836857d84c1865f396bc89bbf654ff /sound/pci/hda/hda_codec.c | |
parent | 2a5e00ed14e27908dae698900473a65cc53ccd82 (diff) | |
parent | 572c0e3c73341755f3e7dfaaef6b26df12bd709c (diff) |
Merge branch 'fix/hda' into for-linus
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 5bd7cf45f3a5..0e76ac2b2ace 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1806,6 +1806,8 @@ int snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl, item->nid = nid; return 0; } + printk(KERN_ERR "hda-codec: no NID for mapping control %s:%d:%d\n", + kctl->id.name, kctl->id.index, index); return -EINVAL; } EXPORT_SYMBOL_HDA(snd_hda_add_nid); @@ -2884,7 +2886,7 @@ int /*__devinit*/ snd_hda_build_controls(struct hda_bus *bus) list_for_each_entry(codec, &bus->codec_list, list) { int err = snd_hda_codec_build_controls(codec); if (err < 0) { - printk(KERN_ERR "hda_codec: cannot build controls" + printk(KERN_ERR "hda_codec: cannot build controls " "for #%d (error %d)\n", codec->addr, err); err = snd_hda_codec_reset(codec); if (err < 0) { |