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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -21,6 +21,7 @@ enum functionfs_flags { · 20 unmodified lines | ||
| 21 | 21 | FUNCTIONFS_HAS_MS_OS_DESC = 8, |
| 22 | 22 | FUNCTIONFS_VIRTUAL_ADDR = 16, |
| 23 | 23 | FUNCTIONFS_EVENTFD = 32, |
| 24 | + FUNCTIONFS_ALL_CTRL_RECIP = 64, | |
| 24 | 25 | }; |
| 25 | 26 | |
| 26 | 27 | /* Descriptor of an non-audio endpoint */ |