usb: gadget: f_uvc: use bind_deactivated flag
authorRobert Baldyga <r.baldyga@samsung.com>
Mon, 4 May 2015 12:55:14 +0000 (14:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:20 +0000 (09:59 -0500)
commitf277bf27cf5cd56bcd1c4b95ae140f61680a6e83
treedeb63b95b651052b96535de242f32585200648f1
parentd5bb9b81dbfa35d117ecb58022ee6e7e41e4772d
usb: gadget: f_uvc: use bind_deactivated flag

Use bind_deactivated flag instead of calling usb_function_deactivate()
in function bind().

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uvc.c