diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-04-08 17:36:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 10:50:27 -0700 |
commit | 7f0406db5fe4dd3ad3cbd53830239a87d68156fd (patch) | |
tree | ffdcf8e047b837da06034b1806d88acbd1033264 /drivers/usb/host/whci/asl.c | |
parent | 3444b26afa145148951112534f298bdc554ec789 (diff) | |
download | blackbird-obmc-linux-7f0406db5fe4dd3ad3cbd53830239a87d68156fd.tar.gz blackbird-obmc-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/asl.c')
-rw-r--r-- | drivers/usb/host/whci/asl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/whci/asl.c b/drivers/usb/host/whci/asl.c index 958751ccea43..be753f664993 100644 --- a/drivers/usb/host/whci/asl.c +++ b/drivers/usb/host/whci/asl.c @@ -122,7 +122,8 @@ static uint32_t process_qset(struct whc *whc, struct whc_qset *qset) process_inactive_qtd(whc, qset, td); } - update |= qset_add_qtds(whc, qset); + if (!qset->remove) + update |= qset_add_qtds(whc, qset); done: /* |