Re: [PATCH] usb: gadget: uvc: Missing files for configfs interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 09, 2018 at 08:51:03PM +0100, Greg KH wrote:
> On Fri, Feb 09, 2018 at 01:23:43PM -0600, Bin Liu wrote:
> > From: Petr Cvek <petr.cvek@xxxxxx>
> > 
> > commit c8cd751060b149997b9de53a494fb1490ded72c5 upstream.
> > 
> > Commit 76e0da34c7ce ("usb-gadget/uvc: use per-attribute show and store
> > methods") caused a stringification of an undefined macro argument "aname",
> > so three UVC parameters (streaming_interval, streaming_maxpacket and
> > streaming_maxburst) were named "aname".
> > 
> > Add the definition of "aname" to the main macro and name the filenames as
> > originaly intended.
> > 
> > Signed-off-by: Petr Cvek <petr.cvek@xxxxxx>
> > Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
> > Signed-off-by: Bin Liu <b-liu@xxxxxx>
> > ---
> >  drivers/usb/gadget/function/uvc_configfs.c | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> What stable kernel(s) do you want this applied to?

The commit 76e0da34c7ce which causes the regression is introduced in
v4.4, so I would think this patch have to be applied down to v4.4.

FYI, I tested this patch on v4.4 and v4.9.

Thanks,
-Bin.
--
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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux