Re: [PATCH] usb: gadget: f_mass_storage: cahnge wait_event to wait_event_timeout

2021-01-21 Thread Alan Stern
On Thu, Jan 21, 2021 at 03:56:45PM +0900, Oh Eomji wrote: > Changed to return a timeout error if there is no response for a certain > period of time in order to solve the problem of waiting for a event > complete while executing unbind. > > Signed-off-by: Oh Eomji > --- > drivers/usb/gadget/func

Re: [PATCH] usb: gadget: f_mass_storage: cahnge wait_event to wait_event_timeout

2021-01-21 Thread Greg Kroah-Hartman
On Thu, Jan 21, 2021 at 03:56:45PM +0900, Oh Eomji wrote: > Changed to return a timeout error if there is no response for a certain > period of time in order to solve the problem of waiting for a event > complete while executing unbind. > > Signed-off-by: Oh Eomji > --- > drivers/usb/gadget/func

Re: [PATCH] usb: gadget: f_mass_storage: cahnge wait_event to wait_event_timeout

2021-01-21 Thread Andy Shevchenko
On Thu, Jan 21, 2021 at 03:56:45PM +0900, Oh Eomji wrote: > Changed to return a timeout error if there is no response for a certain > period of time in order to solve the problem of waiting for a event > complete while executing unbind. Can you shed a light on the choice of the timeout length? >