Tested-by: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx> On Tue, May 12, 2015 at 8:37 PM, Mian Yousaf Kaukab <yousaf.kaukab@xxxxxxxxx> wrote: > ep_cfg.IN_EP_ENABLE is only valid in advance mode. > > Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@xxxxxxxxx> > --- > drivers/usb/gadget/udc/net2280.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c > index 9871b90..62bc157 100644 > --- a/drivers/usb/gadget/udc/net2280.c > +++ b/drivers/usb/gadget/udc/net2280.c > @@ -1860,8 +1860,8 @@ static void defect7374_enable_data_eps_zero(struct net2280 *dev) > tmp = ((0 << ENDPOINT_NUMBER) | BIT(ENDPOINT_DIRECTION) | > (2 << OUT_ENDPOINT_TYPE) | (2 << IN_ENDPOINT_TYPE) | > ((dev->enhanced_mode) ? > - BIT(OUT_ENDPOINT_ENABLE) : BIT(ENDPOINT_ENABLE)) | > - BIT(IN_ENDPOINT_ENABLE)); > + BIT(OUT_ENDPOINT_ENABLE) | BIT(IN_ENDPOINT_ENABLE) : > + BIT(ENDPOINT_ENABLE))); > > for (i = 1; i < 5; i++) > writel(tmp, &dev->ep[i].cfg->ep_cfg); > -- > 2.3.3 > -- Ricardo Ribalda -- 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