usb: gadget: f_fs: handle control requests in config 0
authorFelix Hädicke <felixhaedicke@web.de>
Tue, 21 Jun 2016 23:12:09 +0000 (01:12 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:17 +0000 (12:13 +0300)
commit4368c28ae7acb0744968e58c81be561b44aacd57
tree623e3ed3bc63a4f8c962286de8f0fec3864ec364
parent1a00b457a5482c3822bfc0fd64c088b2dba93e26
usb: gadget: f_fs: handle control requests in config 0

Introduces a new FunctionFS descriptor flag named
FUNCTIONFS_CONFIG0_SETUP.

When this flag is enabled, FunctionFS userspace drivers can process
non-standard control requests in configuration 0.

Signed-off-by: Felix Hädicke <felixhaedicke@web.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_fs.c
include/uapi/linux/usb/functionfs.h