> From: Jingoo Han [mailto:jg1.han@xxxxxxxxxxx] > Sent: Tuesday, August 19, 2014 8:04 PM > > Set the default EP max packet value as 8 bytes, because in the case > of low-speed, 'ep_mps' is not set. Thus, the default value of 'ep_mps' > should be considered for the case of low-speed. > > Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> > --- > - Based on the latest 'usb-linus' branch. > > drivers/usb/dwc2/gadget.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c > index 2a6f76b0075e..7c9618e916e2 100644 > --- a/drivers/usb/dwc2/gadget.c > +++ b/drivers/usb/dwc2/gadget.c > @@ -1901,7 +1901,7 @@ static void s3c_hsotg_epint(struct s3c_hsotg *hsotg, unsigned int idx, > static void s3c_hsotg_irq_enumdone(struct s3c_hsotg *hsotg) > { > u32 dsts = readl(hsotg->regs + DSTS); > - int ep0_mps = 0, ep_mps = 1023; > + int ep0_mps = 0, ep_mps = 8; > > /* > * This should signal the finish of the enumeration phase > -- > 2.0.0 Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx> Greg, can you take this for 3.17-final please? Thanks. -- Paul -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html