From 6df98ee312e05eb7c518300fe80dd3609c77096c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 22 Jul 2009 15:31:03 +0200 Subject: [PATCH] --- yaml --- r: 157801 b: refs/heads/master c: 254da007f93f79ee773788cbb38f24dfab9590f5 h: refs/heads/master i: 157799: 0a32c1baa3af8d4042d7c376f5f09e3175633f02 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_generic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 42eaf802b817..01c0665b2091 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 052960483833f81603450e2a3cfa7a5ee98eedd4 +refs/heads/master: 254da007f93f79ee773788cbb38f24dfab9590f5 diff --git a/trunk/sound/pci/hda/hda_generic.c b/trunk/sound/pci/hda/hda_generic.c index da3e1ed29b3c..bccb62a643ca 100644 --- a/trunk/sound/pci/hda/hda_generic.c +++ b/trunk/sound/pci/hda/hda_generic.c @@ -123,7 +123,7 @@ static int add_new_node(struct hda_codec *codec, struct hda_gspec *spec, hda_nid node->nid = nid; node->wid_caps = get_wcaps(codec, nid); node->type = (node->wid_caps & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT; - if (node->type <= AC_WID_BEEP || node->type == AC_WID_VENDOR) { + if (node->wid_caps & AC_WCAP_CONN_LIST) { nconns = snd_hda_get_connections(codec, nid, conn_list, HDA_MAX_CONNECTIONS); if (nconns < 0) {