Re: [PATCH v6 5/5] usb: dwc3: implement gadget's quirk ep_out_align_size

2013-12-03 Thread David Cohen
Hi Felipe, >> This is why I have been saying that gadget driver *must* be the one >> hadnling this issue based on the quirk flag. > > Thanks. I've seen different point of views in this thread. Since you're > the maintainer, I'll resend the patch following your directions. Probably you want the v

Re: [PATCH v6 5/5] usb: dwc3: implement gadget's quirk ep_out_align_size

2013-12-02 Thread David Cohen
On 11/25/2013 01:06 PM, Felipe Balbi wrote: > Hi, > > On Tue, Nov 12, 2013 at 01:04:46PM -0800, David Cohen wrote: >> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c >> index 5452c0fce360..7c2d36f6ad4b 100644 >> --- a/drivers/usb/dwc3/gadget.c >> +++ b/drivers/usb/dwc3/gadget.c

Re: [PATCH v6 5/5] usb: dwc3: implement gadget's quirk ep_out_align_size

2013-11-25 Thread Felipe Balbi
Hi, On Tue, Nov 12, 2013 at 01:04:46PM -0800, David Cohen wrote: > diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c > index 5452c0fce360..7c2d36f6ad4b 100644 > --- a/drivers/usb/dwc3/gadget.c > +++ b/drivers/usb/dwc3/gadget.c > @@ -1130,6 +1130,14 @@ static int dwc3_gadget_ep_que

[PATCH v6 5/5] usb: dwc3: implement gadget's quirk ep_out_align_size

2013-11-12 Thread David Cohen
DWC3 requires epout to have buffer size aligned to MaxPacketSize value. This patch implements necessary quirk for it. Signed-off-by: David Cohen --- drivers/usb/dwc3/core.h | 6 ++ drivers/usb/dwc3/gadget.c | 23 +++ 2 files changed, 29 insertions(+) diff --git a/driv