aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorPawel Laszczak <[email protected]>2019-09-26 08:58:41 +0100
committerGreg Kroah-Hartman <[email protected]>2019-10-04 11:02:58 +0200
commit9816144313d33974bbd4599d4e8e554c11cae27e (patch)
treea90e2a87e7d7c3a6d1d6f8a9540ce906b284003a /drivers/usb/cdns3/cdns3-debug.h
parent5f318dad72d227438f4da4c57afb2dfbd9dacddb (diff)
usb: cdns3: Fix sheduling with locks held.
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 <[email protected]> Signed-off-by: Pawel Laszczak <[email protected]> Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver") Reviewed-by: Peter Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions