Re: Unlinking URBs before suspending USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 19 Feb 2010, Oliver Neukum wrote:

> Am Freitag, 19. Februar 2010 00:43:55 schrieb FEI YANG:
> > 1. Is it really necessary to unlink pending URBs in driver's suspend
> > method? My observation is that once usb_autopm_put_interface is
> > called, the pending URB will eventually be cleaned up in function
> > usb_hcd_flush_endpoint.
> >         usb_autopm_put_interface -> usb_autopm_do_interface ->
> > usb_suspend_both ->usb_hcd_flush_endpoint
> 
> Some devices crash if you transfer data after enabling remote wakeup.

Can you give any examples?  I haven't heard of this sort of problem 
before.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux