]> git.baikalelectronics.ru Git - 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)
commit01a46aa88029b67163fb1c9fcb86284f5598b4d9
tree8e30010f0c763e89d77d482a0dd2b7d88fa36c73
parentb0d809d2d9e88ac2250b35c6bdb5e719efb78107
usb: gadget: uvc: Missing files for configfs interface

Commit 574fbd12cc7f ("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