From: Takashi Iwai Subject: Re: model needed for Clevo P150HM (Realtek ALC892) Date: Thu, 30 Jun 2011 21:28:47 +0200 Message-ID: References: <4E036C8F.3080709@gmail.com> <4E047441.4010003@gmail.com> <4E05C1B1.50302@gmail.com> <4E05C704.4080806@gmail.com> <4E05CE02.1070801@gmail.com> <4E082166.5060902@gmail.com> <4E08E33D.3060608@gmail.com> <4E0B62B6.6000007@gmail.com> <4E0B6BE0.1010003@gmail.com> <4E0B7D22.3040009@gmail.com> <4E0C17F2.5070704@gmail.com> <4E0CABBC.3070801@gmail.com> <4E0CBBED.9050501@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id C902C103992 for ; Thu, 30 Jun 2011 21:28:49 +0200 (CEST) In-Reply-To: <4E0CBBED.9050501@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Julian Sikorski Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 30 Jun 2011 20:09:49 +0200, Julian Sikorski wrote: > > $ dmesg | grep XXX > [ 14.813013] XXX alc662_auto_fill_dac_nids called > [ 14.813015] XXX line_outs=1, 14/0/0 > [ 14.813016] XXX hp_outs=1, 1b/0/0 > [ 14.813018] XXX spk_outs=0, 0/0/0 > [ 14.813186] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0 > [ 14.813187] XXX swap primary out to HP > [ 14.813188] XXX spk=14 > [ 14.813190] XXX line=1b > [ 14.813191] XXX alc662_auto_fill_dac_nids called > [ 14.813192] XXX line_outs=1, 1b/0/0 > [ 14.813194] XXX hp_outs=0, 0/0/0 > [ 14.813195] XXX spk_outs=1, 14/0/0 > [ 14.813311] XXX filled dacs: 2/0/0/0/0, hp 0, ext 0/0/0 > [ 14.813560] XXX added multi-io pin 1a, dac 3 > [ 14.813814] XXX added multi-io pin 18, dac 4 > [ 14.813818] XXX create mixer ch 0 pin 1b dac 2 mix c > [ 14.813821] XXX create mixer ch 1 pin 1a dac 3 mix d > [ 14.813825] XXX create mixer ch 2 pin 18 dac 4 mix e How about the fix below? Takashi --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 7b96dce..757a8a3 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -18780,7 +18780,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec) { struct alc_spec *spec = codec->spec; const struct auto_pin_cfg *cfg = &spec->autocfg; - bool redone; + bool redone = false; int i; again: