diff options
| author | Robert Baldyga <[email protected]> | 2015-05-04 14:55:13 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-07-29 09:59:19 -0500 |
| commit | d5bb9b81dbfa35d117ecb58022ee6e7e41e4772d (patch) | |
| tree | 398dcc6d054fbf8c56c0bb767f3b63e4447767ce /include/linux/flex_array.h | |
| parent | 5601250bb1b4e736cf487d332f2d8d8833a84209 (diff) | |
usb: composite: add bind_deactivated flag to usb_function
This patch introduces 'bind_deactivated' flag in struct usb_function.
Functions which don't want to be activated automatically after bind should
set this flag, and when they start to be ready to work they should call
usb_function_activate().
When USB function sets 'bind_deactivated' flag, initial deactivation
counter is incremented automatically, so there is no need to call
usb_function_deactivate() in function bind.
Signed-off-by: Robert Baldyga <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions