diff options
-rw-r--r-- | drivers/usb/gadget/fsl_udc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index fa3d142ba64d..08a9a62a39e3 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c | |||
@@ -489,7 +489,7 @@ static int fsl_ep_enable(struct usb_ep *_ep, | |||
489 | case USB_ENDPOINT_XFER_ISOC: | 489 | case USB_ENDPOINT_XFER_ISOC: |
490 | /* Calculate transactions needed for high bandwidth iso */ | 490 | /* Calculate transactions needed for high bandwidth iso */ |
491 | mult = (unsigned char)(1 + ((max >> 11) & 0x03)); | 491 | mult = (unsigned char)(1 + ((max >> 11) & 0x03)); |
492 | max = max & 0x8ff; /* bit 0~10 */ | 492 | max = max & 0x7ff; /* bit 0~10 */ |
493 | /* 3 transactions at most */ | 493 | /* 3 transactions at most */ |
494 | if (mult > 3) | 494 | if (mult > 3) |
495 | goto en_done; | 495 | goto en_done; |