aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/gadget/s3c-hsotg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 1020006ecfc1..552ec899500a 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -611,11 +611,10 @@ static unsigned get_ep_limit(struct s3c_hsotg_ep *hs_ep)
611 maxsize = S3C_DxEPTSIZ_XferSize_LIMIT + 1; 611 maxsize = S3C_DxEPTSIZ_XferSize_LIMIT + 1;
612 maxpkt = S3C_DxEPTSIZ_PktCnt_LIMIT + 1; 612 maxpkt = S3C_DxEPTSIZ_PktCnt_LIMIT + 1;
613 } else { 613 } else {
614 maxsize = 64+64;
614 if (hs_ep->dir_in) { 615 if (hs_ep->dir_in) {
615 maxsize = 64+64;
616 maxpkt = S3C_DIEPTSIZ0_PktCnt_LIMIT + 1; 616 maxpkt = S3C_DIEPTSIZ0_PktCnt_LIMIT + 1;
617 } else { 617 } else {
618 maxsize = 0x3f;
619 maxpkt = 2; 618 maxpkt = 2;
620 } 619 }
621 } 620 }