]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: gadget: uvc: Missing files for configfs interface
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 6 Mar 2017 23:57:20 +0000 (00:57 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:57:59 +0000 (10:57 +0300)
commitc8cd751060b149997b9de53a494fb1490ded72c5
tree8e30010f0c763e89d77d482a0dd2b7d88fa36c73
parenta38b395521898364cb157b8c03cf9abc2b327aff
usb: gadget: uvc: Missing files for configfs interface

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@tul.cz>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/uvc_configfs.c