aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2009-04-29 22:06:20 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 00:44:50 -0400
commitf0058c627855ecb3b6c7185b7ad1910463c24c42 (patch)
treedfa5e75711a2a1dfe8d3b5384558290ad18cf9d6 /drivers/usb/host/xhci-mem.c
parentb7116ebca4e1a898f30ae474151fd6474327257c (diff)
USB: Change names of SuperSpeed ep companion descriptor structs.
Differentiate between SuperSpeed endpoint companion descriptor and the wireless USB endpoint companion descriptor. Make all structure names for this descriptor have "ss" (SuperSpeed) in them. David Vrabel asked for this change in http://marc.info/?l=linux-usb&m=124091465109367&w=2 Reported-by: David Vrabel <david.vrabel@csr.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index f49f280cfd43..a7fbd6c10add 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -496,7 +496,7 @@ int xhci_endpoint_init(struct xhci_hcd *xhci,
496 max_packet = ep->desc.wMaxPacketSize; 496 max_packet = ep->desc.wMaxPacketSize;
497 ep_ctx->ep_info2 |= MAX_PACKET(max_packet); 497 ep_ctx->ep_info2 |= MAX_PACKET(max_packet);
498 /* dig out max burst from ep companion desc */ 498 /* dig out max burst from ep companion desc */
499 max_packet = ep->ep_comp->desc.bMaxBurst; 499 max_packet = ep->ss_ep_comp->desc.bMaxBurst;
500 ep_ctx->ep_info2 |= MAX_BURST(max_packet); 500 ep_ctx->ep_info2 |= MAX_BURST(max_packet);
501 break; 501 break;
502 case USB_SPEED_HIGH: 502 case USB_SPEED_HIGH: