diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-05-04 14:55:15 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-29 16:59:20 +0200 |
commit | 4cfbd95232dd6194c04d432d1a8ac45cec269d8b (patch) | |
tree | 6d894c3ef0dc70574019a9423ecaca250bc15254 /init | |
parent | usb: gadget: f_uvc: use bind_deactivated flag (diff) | |
download | linux-4cfbd95232dd6194c04d432d1a8ac45cec269d8b.tar.xz linux-4cfbd95232dd6194c04d432d1a8ac45cec269d8b.zip |
usb: gadget: f_obex: use bind_deactivated flag
Use bind_deactivated flag instead of calling usb_function_deactivate()
in function bind(). Field 'can_activate' in struct f_obex is no longer
needed as setting 'bind_deactivated' flag makes us sure, that the function
will be binded only if deactivation can be performed successfully.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions