On Wednesday 11 May 2005 12:59 pm, Alan Stern wrote: > On Wed, 11 May 2005, David Brownell wrote: > > > When you look, I think you'll see that adding a shutdown method > > will prevent the dpm_runtime_suspend() deadlock. There might > > be another one though. > > How about simply setting intf->dev.detach_state to 0? > device_detach_shutdown() won't do anything in that case. > > In fact, isn't it supposed to be 0 by default? The value is meaningless > for interfaces anyway.
All good points. In fact I asked a while back if anyone even cared about the detach_state stuff, and nobody spoke up ... maybe that mechanism can just be removed. Oddly enough, notice how device_detach_shutdown() is a place that still gets the pm_message_t stuff seriously wrong ... - Dave ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel