RE: [PATCH] usb: host: xhci: fix HALTED endpoint handling

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

 



From: Sarah Sharp
...
> If it really matters that a driver be able to get an immediate -EPIPE
> response back from a device when the endpoint is halted, I can rip the
> code out of xhci_endpoint_reset() and make the driver manually clean up
> the ring at the time of the stall, like it does for control endpoints
> and babble/transfer/split TX errors.  If it doesn't matter, test #13
> should be changed to only submit one URB and get back an -EPIPE
> response.

Remember that drivers like usbnet leave urb active on inbound endpoints
all the time - and need to be able to queue them all the time.

I've certainly seen the "WARN halted endpoint, queueing URB anyway."
message while testing the ac88179_178a driver with no ill effects.

	David



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]