Re: [PATCH RFC 1/7] xHCI: Introduce urb_priv structure

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

 



On Wed, 2010-03-03 at 09:57 -0800, Sarah Sharp wrote:

> Why not keep a count of completed TDs in urb_priv and only unlink and
> giveback the URB if that matches urb_priv->td_cnt?
> 
> The other option is to not set the IOC flag on the last TRB of the
> beginning and middle TDs.  However, I think that breaks the cancellation
> case when the xHCI driver needs to stop the endpoint rings, so the count
> of completed TDs is probably better.
> 
Thanks for the suggestion. I will try the first option.


-- 

Thanks,
Andiry

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