commit | 4cfbd95232dd6194c04d432d1a8ac45cec269d8b | [log] [tgz] |
---|---|---|
author | Robert Baldyga <r.baldyga@samsung.com> | Mon May 04 14:55:15 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Wed Jul 29 09:59:20 2015 -0500 |
tree | 6d894c3ef0dc70574019a9423ecaca250bc15254 | |
parent | f277bf27cf5cd56bcd1c4b95ae140f61680a6e83 [diff] |
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>