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, Sep 14, 2012 at 09:41:12AM -0400, Alan Stern wrote:
> 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, by HCD, do you mean host controller driver, or the host hardware?
I'm getting a bit confused here. :)

What exactly would you have me do in the xHCI driver that's different
from its current behavior?

Sarah Sharp
--
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