History

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.

Felix Hädicke committed 10 years ago

Commit 4368c281 parent 1a00b452 files · +4 −2Browse files

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

Unified · Split

include/uapi/linux/usb/functionfs.h+1−0
@@ -22,6 +22,7 @@ enum functionfs_flags { · 21 unmodified lines
2222 FUNCTIONFS_VIRTUAL_ADDR = 16,
2323 FUNCTIONFS_EVENTFD = 32,
2424 FUNCTIONFS_ALL_CTRL_RECIP = 64,
25+ FUNCTIONFS_CONFIG0_SETUP = 128,
2526 };
2627
2728 /* 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