mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
1a00b457a5
commit
4368c28ae7
2 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,7 @@ enum functionfs_flags {
|
|||
FUNCTIONFS_VIRTUAL_ADDR = 16,
|
||||
FUNCTIONFS_EVENTFD = 32,
|
||||
FUNCTIONFS_ALL_CTRL_RECIP = 64,
|
||||
FUNCTIONFS_CONFIG0_SETUP = 128,
|
||||
};
|
||||
|
||||
/* Descriptor of an non-audio endpoint */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue