On Sun 2008-12-07 08:34:43, Linus Torvalds wrote: > On Sun, 7 Dec 2008, Rafael J. Wysocki wrote: > > > > So, can we just say that PCI drivers shouldn't free IRQs during suspend and > > request them during resume, and if there's any problem that leads to, then it > > should be solved differently? > > Well, there are reasons why _individual_ drivers might want to free and > re-request irq's during suspend, so I wouldn't say it's wrong either. Another (not too good) reason why you may want to unregister the interrupt is similarity between suspend and rmmod (and resume and insmod). In some cases you can get away with sharing code between those two paths... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm