From 4623760aeeddee585485bcb8a583d24d73ec5f95 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 24 Aug 2011 17:27:52 +0200 Subject: [PATCH] --- yaml --- r: 270363 b: refs/heads/master c: 9c4e84d3b8cbcde88947ceff265e11d38ab127b9 h: refs/heads/master i: 270361: 453229b008aefcf696e5e7172e17b377e98c28af 270359: 546f649fb9cfda584f1dec8de2042617212872ce v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_realtek.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 11eb9b2cbb74..0791200fb1e2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e92d4b08d756e11f89a5d7e7d45a3ab9387bd25a +refs/heads/master: 9c4e84d3b8cbcde88947ceff265e11d38ab127b9 diff --git a/trunk/sound/pci/hda/patch_realtek.c b/trunk/sound/pci/hda/patch_realtek.c index 50fd55097488..de63619decdb 100644 --- a/trunk/sound/pci/hda/patch_realtek.c +++ b/trunk/sound/pci/hda/patch_realtek.c @@ -3014,7 +3014,7 @@ static int alc_auto_create_multi_out_ctls(struct hda_codec *codec, sw = alc_look_for_out_mute_nid(codec, pin, dac); vol = alc_look_for_out_vol_nid(codec, pin, dac); name = alc_get_line_out_pfx(spec, i, true, &index); - if (!name) { + if (!name || !strcmp(name, "CLFE")) { /* Center/LFE */ err = alc_auto_add_vol_ctl(codec, "Center", 0, vol, 1); if (err < 0)