From: Takashi Iwai <tiwai@suse.de>
To: Frans Pop <elendil@planet.nl>
Cc: linux-kernel@vger.kernel.org,
linux-pm@lists.linux-foundation.org, alsa-devel@alsa-project.org
Subject: Re: [regression] Sound not transferred to docking station after resume from StR
Date: Mon, 19 Apr 2010 14:53:30 +0200 [thread overview]
Message-ID: <s5hpr1vob79.wl%tiwai@suse.de> (raw)
In-Reply-To: <201004191439.45589.elendil@planet.nl>
At Mon, 19 Apr 2010 14:39:44 +0200,
Frans Pop wrote:
>
> On Monday 19 April 2010, Takashi Iwai wrote:
> > Or how about the patch below?
>
> That fixes the problem too.
>
> Please add my:
> Reported-and-tested-by: Frans Pop <elendil@planet.nl>
Thanks for a quick check. But I found that the patch isn't fully
correct.
The patch below should suffice instead of the previous one.
Could you check it again?
thanks,
Takashi
---
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 9cbd80c..afbe314 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -527,14 +527,6 @@ static int ad198x_suspend(struct hda_codec *codec, pm_message_t state)
ad198x_power_eapd(codec);
return 0;
}
-
-static int ad198x_resume(struct hda_codec *codec)
-{
- ad198x_init(codec);
- snd_hda_codec_resume_amp(codec);
- snd_hda_codec_resume_cache(codec);
- return 0;
-}
#endif
static struct hda_codec_ops ad198x_patch_ops = {
@@ -547,7 +539,6 @@ static struct hda_codec_ops ad198x_patch_ops = {
#endif
#ifdef SND_HDA_NEEDS_RESUME
.suspend = ad198x_suspend,
- .resume = ad198x_resume,
#endif
.reboot_notify = ad198x_shutup,
};
next prev parent reply other threads:[~2010-04-19 12:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 19:31 Frans Pop
2010-04-16 19:48 ` Frans Pop
2010-04-17 9:06 ` Frans Pop
2010-04-19 7:47 ` Takashi Iwai
2010-04-19 11:38 ` Frans Pop
2010-04-19 11:59 ` Takashi Iwai
2010-04-19 12:14 ` Takashi Iwai
2010-04-19 12:39 ` Frans Pop
2010-04-19 12:53 ` Takashi Iwai [this message]
2010-04-19 14:58 ` Frans Pop
2010-04-19 16:17 ` Takashi Iwai
2010-04-19 12:18 ` Frans Pop
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=s5hpr1vob79.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=elendil@planet.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.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
Powered by JetHome