projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c526d0d
)
USB: xhci: Fix dropping endpoints from the xHC schedule.
author
Sarah Sharp
<sarah.a.sharp@linux.intel.com>
Fri, 18 Sep 2009 15:55:12 +0000
(08:55 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 9 Oct 2009 20:52:07 +0000
(13:52 -0700)
When an endpoint is to be dropped from the hardware bandwidth schedule, we
want to clear its add flag.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-hcd.c
b/drivers/usb/host/xhci-hcd.c
index
d61c49f
..
932f999
100644
(file)
--- a/
drivers/usb/host/xhci-hcd.c
+++ b/
drivers/usb/host/xhci-hcd.c
@@
-895,7
+895,7
@@
int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
ctrl_ctx->drop_flags |= drop_flag;
new_drop_flags = ctrl_ctx->drop_flags;
- ctrl_ctx->add_flags = ~drop_flag;
+ ctrl_ctx->add_flags
&
= ~drop_flag;
new_add_flags = ctrl_ctx->add_flags;
last_ctx = xhci_last_valid_endpoint(ctrl_ctx->add_flags);