From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756913AbbE2S0b (ORCPT ); Fri, 29 May 2015 14:26:31 -0400 Received: from cantor2.suse.de ([195.135.220.15]:48078 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756447AbbE2SZn (ORCPT ); Fri, 29 May 2015 14:25:43 -0400 Date: Fri, 29 May 2015 20:25:41 +0200 Message-ID: From: Takashi Iwai To: Jeremiah Mahler Cc: linux-kernel@vger.kernel.org Subject: Re: [BUG, bisect] ALSA: hda - No sound output In-Reply-To: <20150529174117.GB1769@hudson.localdomain> References: <20150529072714.GA1338@hudson.localdomain> <20150529174117.GB1769@hudson.localdomain> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.5 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 29 May 2015 10:41:17 -0700, Jeremiah Mahler wrote: > > Takashi, > > On Fri, May 29, 2015 at 09:43:24AM +0200, Takashi Iwai wrote: > > At Fri, 29 May 2015 09:37:44 +0200, > > Takashi Iwai wrote: > [...] > > I think I found the culprit. Please try the patch below. > > > > > > Takashi > > > > --- > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > > index ea3af38eee58..464168426465 100644 > > --- a/sound/pci/hda/patch_realtek.c > > +++ b/sound/pci/hda/patch_realtek.c > > @@ -5729,6 +5729,7 @@ static int patch_alc269(struct hda_codec *codec) > > set_beep_amp(spec, spec->gen.mixer_nid, 0x04, HDA_INPUT); > > > > codec->patch_ops = alc_patch_ops; > > + codec->patch_ops.stream_pm = snd_hda_gen_stream_pm; > > #ifdef CONFIG_PM > > codec->patch_ops.suspend = alc269_suspend; > > codec->patch_ops.resume = alc269_resume; > > diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c > > index 742087ef378f..31a95cca015d 100644 > > --- a/sound/pci/hda/patch_via.c > > +++ b/sound/pci/hda/patch_via.c > > @@ -472,6 +472,7 @@ static const struct hda_codec_ops via_patch_ops = { > > .init = via_init, > > .free = via_free, > > .unsol_event = snd_hda_jack_unsol_event, > > + .stream_pm = snd_hda_gen_stream_pm, > > #ifdef CONFIG_PM > > .suspend = via_suspend, > > .check_power_status = via_check_power_status, > > That patch fixes the problem. Thanks! The patch was queued, thanks for confirmation! Takashi