diff options
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 40a0d8b03ad7..e84ca1928dbf 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -959,7 +959,7 @@ static void init_pipe_info(struct r8a66597 *r8a66597, struct urb *urb, | |||
959 | info.pipenum = get_empty_pipenum(r8a66597, ep); | 959 | info.pipenum = get_empty_pipenum(r8a66597, ep); |
960 | info.address = get_urb_to_r8a66597_addr(r8a66597, urb); | 960 | info.address = get_urb_to_r8a66597_addr(r8a66597, urb); |
961 | info.epnum = usb_endpoint_num(ep); | 961 | info.epnum = usb_endpoint_num(ep); |
962 | info.maxpacket = le16_to_cpu(ep->wMaxPacketSize); | 962 | info.maxpacket = usb_endpoint_maxp(ep); |
963 | info.type = get_r8a66597_type(usb_endpoint_type(ep)); | 963 | info.type = get_r8a66597_type(usb_endpoint_type(ep)); |
964 | info.bufnum = get_bufnum(info.pipenum); | 964 | info.bufnum = get_bufnum(info.pipenum); |
965 | info.buf_bsize = get_buf_bsize(info.pipenum); | 965 | info.buf_bsize = get_buf_bsize(info.pipenum); |
@@ -2519,7 +2519,7 @@ static int __devinit r8a66597_probe(struct platform_device *pdev) | |||
2519 | hcd->rsrc_start = res->start; | 2519 | hcd->rsrc_start = res->start; |
2520 | hcd->has_tt = 1; | 2520 | hcd->has_tt = 1; |
2521 | 2521 | ||
2522 | ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | irq_trigger); | 2522 | ret = usb_add_hcd(hcd, irq, irq_trigger); |
2523 | if (ret != 0) { | 2523 | if (ret != 0) { |
2524 | dev_err(&pdev->dev, "Failed to add hcd\n"); | 2524 | dev_err(&pdev->dev, "Failed to add hcd\n"); |
2525 | goto clean_up3; | 2525 | goto clean_up3; |