History

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.

Felix Hädicke committed 10 years ago

Commit 54dfce61 parent ed6fe1f2 files · +31 −4Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/usb/functionfs.h+1−0
@@ -21,6 +21,7 @@ enum functionfs_flags { · 20 unmodified lines
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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t