public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Jiri Slaby <jirislaby@gmail.com>, Andrew Morton <akpm@osdl.org>,
	linux-pm@osdl.org, alsa-devel@alsa-project.org,
	linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: [Alsa-devel] swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
Date: Mon, 31 Jul 2006 16:03:05 +0200	[thread overview]
Message-ID: <20060731140304.GA3399@elf.ucw.cz> (raw)
In-Reply-To: <s5hodv5an8u.wl%tiwai@suse.de>

Hi!

> > If the driver is compiled in, its .suspend() routine gets called before the
> > suspend image is restored and puts the card in a state that confuses
> > the .resume() called after the image has been restored.
> > 
> > I think snd_emu10k1_suspend() should reset the device if state == PMSG_PRETHAW .
> 
> Hm, do we need such inconsitent behavior?  I mean, for most drivers,
> it doesn't matter whether it's built-in or a module: simply shutdown
> at suspend, and initialize at resume.

That's of course the other (and better) solution.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2006-07-31 14:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060727015639.9c89db57.akpm@osdl.org>
2006-07-29 17:58 ` swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1] Jiri Slaby
2006-07-29 18:59   ` Rafael J. Wysocki
2006-07-29 23:06     ` Jiri Slaby
2006-07-29 23:10       ` Rafael J. Wysocki
2006-07-29 23:59         ` Jiri Slaby
2006-07-30  0:03         ` Jiri Slaby
2006-07-29 23:22       ` Pavel Machek
2006-07-29 23:58         ` Jiri Slaby
2006-07-30  0:06           ` Pavel Machek
2006-07-30  7:31             ` Rafael J. Wysocki
2006-07-30  8:08               ` Jiri Slaby
2006-07-30  9:28                 ` Rafael J. Wysocki
2006-07-30 10:54                   ` Jiri Slaby
2006-07-30 11:08                     ` Pavel Machek
2006-07-30 11:34                     ` Rafael J. Wysocki
2006-07-31 13:59                       ` Takashi Iwai
2006-07-31 14:03                         ` Pavel Machek [this message]
2006-07-30 11:36           ` James Courtier-Dutton

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=20060731140304.GA3399@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=akpm@osdl.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@osdl.org \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    --cc=tiwai@suse.de \
    /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