From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755975AbZHMUAY (ORCPT ); Thu, 13 Aug 2009 16:00:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755831AbZHMUAU (ORCPT ); Thu, 13 Aug 2009 16:00:20 -0400 Received: from kroah.org ([198.145.64.141]:41999 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755960AbZHMUAQ (ORCPT ); Thu, 13 Aug 2009 16:00:16 -0400 X-Mailbox-Line: From gregkh@mini.kroah.org Thu Aug 13 12:51:35 2009 Message-Id: <20090813195135.441844749@mini.kroah.org> User-Agent: quilt/0.48-1 Date: Thu, 13 Aug 2009 12:50:48 -0700 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: stable-review@kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Takashi Iwai Subject: [patch 73/74] ALSA: hda - Add missing vmaster initialization for ALC269 References: <20090813194935.985368088@mini.kroah.org> Content-Disposition: inline; filename=alsa-hda-add-missing-vmaster-initialization-for-alc269.patch In-Reply-To: <20090813195705.GA22393@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2.6.30-stable review patch. If anyone has any objections, please let us know. ------------------ From: Takashi Iwai commit 100d5eb36ba20dc0b99a17ea2b9800c567bfc3d1 upstream. Without the initialization of vmaster NID, the dB information got confused for ALC269 codec. Reference: Novell bnc#527361 https://bugzilla.novell.com/show_bug.cgi?id=527361 Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -13150,6 +13150,8 @@ static int patch_alc269(struct hda_codec set_capture_mixer(spec); set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT); + spec->vmaster_nid = 0x02; + codec->patch_ops = alc_patch_ops; if (board_config == ALC269_AUTO) spec->init_hook = alc269_auto_init;