Re: [PATCH] usb: ffs: fix regression when quirk_ep_out_aligned_size flag is set

From: David Cohen
Date: Wed Oct 08 2014 - 13:55:34 EST

On Tue, Oct 07, 2014 at 07:32:56PM -0500, Felipe Balbi wrote:
> Hi again,
> On Tue, Oct 07, 2014 at 05:18:06PM -0700, David Cohen wrote:
> > The commit '2e4c7553cd usb: gadget: f_fs: add aio support' broke the
> > quirk implemented to align buffer size to maxpacketsize on out endpoint.
> > As result, functionfs does not work on Intel platforms using dwc3 driver
> > (i.e. Bay Trail and Merrifield). This patch fixes the issue.
> >
> > This code is based on a previous Qiuxu's patch.
> >
> btw, please resend and add below right here:
> Fixes: 2e4c7553cd (usb: gadget: f_fs: add aio support)
> Cc: <stable@xxxxxxxxxxxxxxx> # v3.16+

Sure. But v3.16 doesn't have the new 'function' directory under usb/gadget.
Not sure if same patch is useful for v3.16+.
The patch I sent is intended for v3.17.1 and v3.18-rc1.

Br, David

> > Signed-off-by: David Cohen <david.a.cohen@xxxxxxxxxxxxxxx>
> > Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>
> --
> balbi

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at