diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-29 11:56:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-29 11:56:17 -0400 |
commit | 6ed962a208cb72cff29a107d6c73247526017ddb (patch) | |
tree | 2bd574d8ab1db79b369735ba0519a66760019189 /drivers/usb/musb | |
parent | c6a389f123b9f68d605bb7e0f9b32ec1e3e14132 (diff) | |
parent | 55a46269ccedec140e2487a2344e8a247d48b385 (diff) |
Merge 3.1-rc4 into usb-next
This was done to resolve a conflict in this file:
drivers/usb/host/xhci-ring.c
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb/musb_host.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index e81820370d6f..3f79e7f9a9ee 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -1020,7 +1020,7 @@ static int musb_gadget_enable(struct usb_ep *ep, | |||
1020 | goto fail; | 1020 | goto fail; |
1021 | 1021 | ||
1022 | /* REVISIT this rules out high bandwidth periodic transfers */ | 1022 | /* REVISIT this rules out high bandwidth periodic transfers */ |
1023 | tmp = le16_to_cpu(desc->wMaxPacketSize); | 1023 | tmp = usb_endpoint_maxp(desc); |
1024 | if (tmp & ~0x07ff) { | 1024 | if (tmp & ~0x07ff) { |
1025 | int ok; | 1025 | int ok; |
1026 | 1026 | ||
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 8b2473fa0f47..60ddba8066ea 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c | |||
@@ -1932,7 +1932,7 @@ static int musb_urb_enqueue( | |||
1932 | INIT_LIST_HEAD(&qh->ring); | 1932 | INIT_LIST_HEAD(&qh->ring); |
1933 | qh->is_ready = 1; | 1933 | qh->is_ready = 1; |
1934 | 1934 | ||
1935 | qh->maxpacket = le16_to_cpu(epd->wMaxPacketSize); | 1935 | qh->maxpacket = usb_endpoint_maxp(epd); |
1936 | qh->type = usb_endpoint_type(epd); | 1936 | qh->type = usb_endpoint_type(epd); |
1937 | 1937 | ||
1938 | /* Bits 11 & 12 of wMaxPacketSize encode high bandwidth multiplier. | 1938 | /* Bits 11 & 12 of wMaxPacketSize encode high bandwidth multiplier. |