USB: EHCI: create a "periodic schedule info" struct
This patch begins the process of unifying the scheduling parameters that ehci-hcd uses for interrupt and isochronous transfers. It creates an ehci_per_sched structure, which will be stored in both ehci_qh and ehci_iso_stream structures, and will contain the common scheduling information needed for both. Initially we merely create the new structure and move some existing fields into it. Later patches will add more fields and utilize these structures in improved scheduling algorithms. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
91a99b5e78
commit
ffa0248e64
@@ -1029,7 +1029,7 @@ ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
|
||||
* while the QH is active. Unlink it now;
|
||||
* re-linking will call qh_refresh().
|
||||
*/
|
||||
usb_settoggle(qh->dev, epnum, is_out, 0);
|
||||
usb_settoggle(qh->ps.udev, epnum, is_out, 0);
|
||||
qh->exception = 1;
|
||||
if (eptype == USB_ENDPOINT_XFER_BULK)
|
||||
start_unlink_async(ehci, qh);
|
||||
|
Reference in New Issue
Block a user