usb: gadget: f_mass_storage: stop thread in bind failure case
authorSanjay Singh Rawat <snjsrwt@gmail.com>
Wed, 22 Jul 2015 10:59:46 +0000 (16:29 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 30 Jul 2015 16:43:37 +0000 (11:43 -0500)
commit8078f314b8c8012cf36e5decc75378b803bfba4d
treed662ead674bcf948c4fe69becddcaa131084a49d
parent5feb5d2003499b1094d898c010a7604d7afddc4c
usb: gadget: f_mass_storage: stop thread in bind failure case

After the worker thread is launched, bind function is doing further
configuration. In case of failure stop the thread.

Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Sanjay Singh Rawat <snjsrwt@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_mass_storage.c