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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
>
>
>On Thu, Sep 26, 2019 at 08:00:30AM +0100, 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 issue patch replaces usleep_range with mdelay.
>>
>> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>> Signed-off-by: Pawel Laszczak <pawell@xxxxxxxxxxx>
>> Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
>> ---
>>  drivers/usb/cdns3/ep0.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
>Is this v2 of the patch?

Really. It's the same patch as  previous one. I added only 
Reported-by and Fixes. 

Ok I will prepare the next one :(. 

>If so, it needs to be said so in the subject line, and below the ---
>line describe what changed from the previous one.
>
>That should all be described in the kernel documentation, right?
>
>v3 please?
>
>thanks,
>
>greg k-h

Thenks,
Pawell




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux