diff options
| author | Felix Hädicke <felixhaedicke@web.de> | 2016-06-21 19:12:07 -0400 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-25 05:13:17 -0400 |
| commit | 54dfce6d07b0391e23d006579bba488de4f7d6aa (patch) | |
| tree | 434992c766d701fea355d0493592ef4a82e563b3 /include/uapi/linux/usb/functionfs.h | |
| parent | ed6fe1f50f0c0fdea674dfa739af50011034bdfa (diff) | |
usb: gadget: f_fs: handle control requests not directed to interface or endpoint
Introduces a new FunctionFS descriptor flag named
FUNCTIONFS_ALL_CTRL_RECIP. When this flag is enabled, control requests,
which are not explicitly directed to an interface or endpoint, can be
handled.
This allows FunctionFS userspace drivers to process non-standard
control requests.
Signed-off-by: Felix Hädicke <felixhaedicke@web.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/uapi/linux/usb/functionfs.h')
| -rw-r--r-- | include/uapi/linux/usb/functionfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h index 108dd7997014..93da4ca82dc7 100644 --- a/include/uapi/linux/usb/functionfs.h +++ b/include/uapi/linux/usb/functionfs.h | |||
| @@ -21,6 +21,7 @@ enum functionfs_flags { | |||
| 21 | FUNCTIONFS_HAS_MS_OS_DESC = 8, | 21 | FUNCTIONFS_HAS_MS_OS_DESC = 8, |
| 22 | FUNCTIONFS_VIRTUAL_ADDR = 16, | 22 | FUNCTIONFS_VIRTUAL_ADDR = 16, |
| 23 | FUNCTIONFS_EVENTFD = 32, | 23 | FUNCTIONFS_EVENTFD = 32, |
| 24 | FUNCTIONFS_ALL_CTRL_RECIP = 64, | ||
| 24 | }; | 25 | }; |
| 25 | 26 | ||
| 26 | /* Descriptor of an non-audio endpoint */ | 27 | /* Descriptor of an non-audio endpoint */ |
