Re: [PATCH v4] usb: gadget: f_mass_storage: stop thread in bind failure case

2015-07-30 Thread Michal Nazarewicz
On Wed, Jul 22 2015, Sanjay Singh Rawat wrote: After the worker thread is launched, bind function is doing further configuration. In case of failure stop the thread. Signed-off-by: Sanjay Singh Rawat snjs...@gmail.com Sorry for the delay. Acked-by: Michal Nazarewicz min...@mina86.com ---

[PATCH v4] usb: gadget: f_mass_storage: stop thread in bind failure case

2015-07-22 Thread Sanjay Singh Rawat
After the worker thread is launched, bind function is doing further configuration. In case of failure stop the thread. Signed-off-by: Sanjay Singh Rawat snjs...@gmail.com --- history: v3: - handled Michal's comment; used existing function to change state and exit thread. - tested for