diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-04-08 19:36:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 19:50:27 +0200 |
commit | 7f0406db5fe4dd3ad3cbd53830239a87d68156fd (patch) | |
tree | ffdcf8e047b837da06034b1806d88acbd1033264 /drivers/usb/host/whci/whcd.h | |
parent | USB: add reset endpoint operations (diff) | |
download | linux-7f0406db5fe4dd3ad3cbd53830239a87d68156fd.tar.xz linux-7f0406db5fe4dd3ad3cbd53830239a87d68156fd.zip |
USB: whci-hcd: provide a endpoint_reset method
Provide a endpoint_reset method to reset sequence number and current
window. This QHead information can only be changed while the qset is
not in a schedule.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/whci/whcd.h')
-rw-r--r-- | drivers/usb/host/whci/whcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/whci/whcd.h b/drivers/usb/host/whci/whcd.h index d3543a181dc9..24e94d983c5e 100644 --- a/drivers/usb/host/whci/whcd.h +++ b/drivers/usb/host/whci/whcd.h @@ -184,6 +184,7 @@ void qset_free(struct whc *whc, struct whc_qset *qset); struct whc_qset *get_qset(struct whc *whc, struct urb *urb, gfp_t mem_flags); void qset_delete(struct whc *whc, struct whc_qset *qset); void qset_clear(struct whc *whc, struct whc_qset *qset); +void qset_reset(struct whc *whc, struct whc_qset *qset); int qset_add_urb(struct whc *whc, struct whc_qset *qset, struct urb *urb, gfp_t mem_flags); void qset_free_std(struct whc *whc, struct whc_std *std); |