Re: [PATCH v3 -next] usb: cdns3: Fix sheduling with locks held.

2019-09-27 Thread Peter Chen
On Thu, Sep 26, 2019 at 6:26 PM Pawel Laszczak wrote: > > Patch fix issue in cdns3_ep0_feature_handle_device function. > > The function usleep_range can't be used there because this function is > called with locks held and IRQs disabled in > cdns3_device_thread_irq_handler(). > > To resolve this i

[PATCH v3 -next] usb: cdns3: Fix sheduling with locks held.

2019-09-26 Thread Pawel Laszczak
Patch fix issue in cdns3_ep0_feature_handle_device function. The function usleep_range can't be used there because this function is called with locks held and IRQs disabled in cdns3_device_thread_irq_handler(). To resolve this issue patch replaces usleep_range with mdelay. Reported-by: Dan Carpe