Re: [Alsa-devel] swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- From: Pavel Machek <pavel@xxxxxxx>
- Date: Mon, 31 Jul 2006 16:03:05 +0200
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- 2.6.18-rc2-mm1
- From: Andrew Morton
- Re: swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- From: Rafael J. Wysocki
- Re: swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- From: Jiri Slaby
- Re: swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- From: Rafael J. Wysocki
- Re: [Alsa-devel] swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- From: Takashi Iwai
- 2.6.18-rc2-mm1
- Prev by Date: [PATCH 6/6] AVR32: Kill CONFIG_DISCONTIGMEM support completely
- Next by Date: Re: 2.6.18 regression: cpufreq broken since 2.6.18-rc1 on pentium4
- Previous by thread: Re: [Alsa-devel] swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- Next by thread: Re: swsusp regression (s2dsk) [Was: 2.6.18-rc2-mm1]
- Index(es):