Re: XHCI: URB not cancelled during disconnect of a MSC device

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

 



On Fri, 14 Sep 2012, Ajay Gupta wrote:

> Aborting URBs from within HCD after device disconnect is appropriate. right?

Not really.  The HCD shouldn't need to pay attention to the connect
status while handling URBs.

Instead, the HCD should abort URBs when they fail because the device 
doesn't send any packets.  This could happen because of a disconnect, 
or it could happen because the device's firmware has crashed.  The 
cause doesn't matter.

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