From: Takashi Iwai <tiwai@suse.de>
To: Jeremiah Mahler <jmmahler@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG, bisect] ALSA: hda - No sound output
Date: Fri, 29 May 2015 20:25:41 +0200 [thread overview]
Message-ID: <s5h382f9r6i.wl-tiwai@suse.de> (raw)
In-Reply-To: <20150529174117.GB1769@hudson.localdomain>
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
next prev parent reply other threads:[~2015-05-29 18:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 7:27 Jeremiah Mahler
2015-05-29 7:37 ` Takashi Iwai
2015-05-29 7:43 ` Takashi Iwai
2015-05-29 17:41 ` Jeremiah Mahler
2015-05-29 18:25 ` Takashi Iwai [this message]
2015-05-29 17:38 ` Jeremiah Mahler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h382f9r6i.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=jmmahler@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®