Skip to content
Commit 6e4b74e4 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Felipe Balbi
Browse files

usb: renesas: fix scheduling in atomic context bug



The current renesas_usbhs driver triggers

BUG: scheduling while atomic: ksoftirqd/0/3/0x00000102

with enabled CONFIG_DEBUG_ATOMIC_SLEEP, by submitting DMA transfers from
an atomic (tasklet) context, which is not supported by the shdma dmaengine
driver. Fix it by switching to a work.

Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent d5261286
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment