On Mon, 2006-08-14 at 23:11 -0700, [EMAIL PROTECTED] wrote: > From: David Brownell <[EMAIL PROTECTED]> > > Small driver suspend() fixes in preparation for the PRETHAW events: > > - Only compare message events for equality against PM_EVENT_* codes; > not against integers, or using greater/less-than comparisons. > (PM_EVENT_* should really become a __bitwise thing.) > > - Explicitly test for SUSPEND events (rather than not-something-else) > before suspending devices. > > - Removes more of the confusion between a pm_message_t (wraps event code) > and a "state" ... suspend() originally took a target system state. > > These updates are correct and appropriate even without new PM_EVENT codes. > > benh: "I think in the Mesh case, we should handle the freeze case as well or > we might get wild DMA." > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> > Acked-by: Pavel Machek <[EMAIL PROTECTED]> > Cc: Greg KH <[EMAIL PROTECTED]> > Cc: Paul Mackerras <[EMAIL PROTECTED]>
Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > Cc: Mauro Carvalho Chehab <[EMAIL PROTECTED]> > Cc: James Bottomley <[EMAIL PROTECTED]> > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> > --- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel