From mboxrd@z Thu Jan 1 00:00:00 1970 From: mcuelenaere@gmail.com (Maurus Cuelenaere) Date: Fri, 11 Jun 2010 11:01:18 +0200 Subject: [PATCH 10/11] USB: s3c-hsotg: Fix the OUT EP0 limit In-Reply-To: <1276244457-4072-11-git-send-email-ben-linux@fluff.org> References: <1276244457-4072-1-git-send-email-ben-linux@fluff.org> <1276244457-4072-11-git-send-email-ben-linux@fluff.org> Message-ID: <4C11FB5E.8060106@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Op 11-06-10 10:20, Ben Dooks schreef: > The EP0 out limit is the same as the IN limit, so make them the same. > > Signed-off-by: Ben Dooks > > tmp-fix Shouldn't this line be removed? > --- > drivers/usb/gadget/s3c-hsotg.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c > index 17b0779..b34a05d 100644 > --- a/drivers/usb/gadget/s3c-hsotg.c > +++ b/drivers/usb/gadget/s3c-hsotg.c > @@ -612,11 +612,10 @@ static unsigned get_ep_limit(struct s3c_hsotg_ep *hs_ep) > maxsize = S3C_DxEPTSIZ_XferSize_LIMIT + 1; > maxpkt = S3C_DxEPTSIZ_PktCnt_LIMIT + 1; > } else { > + maxsize = 64+64; > if (hs_ep->dir_in) { > - maxsize = 64+64; > maxpkt = S3C_DIEPTSIZ0_PktCnt_LIMIT + 1; > } else { > - maxsize = 0x3f; > maxpkt = 2; > } > }