linux/drivers/usb/renesas_usbhs
Guennadi Liakhovetski 6e4b74e469 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: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-02-14 13:44:53 +02:00
..
common.c usb: renesas_usbhs: add IRQ resource decoding for IRQF_SHARED 2012-01-24 11:32:56 +02:00
common.h usb: renesas_usbhs: add IRQ resource decoding for IRQF_SHARED 2012-01-24 11:32:56 +02:00
fifo.c usb: renesas: fix scheduling in atomic context bug 2012-02-14 13:44:53 +02:00
fifo.h usb: renesas: fix scheduling in atomic context bug 2012-02-14 13:44:53 +02:00
Kconfig usb: gadget: renesas_usbhs: drop dependency 2011-10-13 20:41:54 +03:00
Makefile usb: gadget: renesas_usbhs: fixup driver compile style 2011-10-13 20:41:54 +03:00
mod_gadget.c usb: renesas_usbhs: silence a gcc warning 2011-12-15 13:45:58 +02:00
mod_host.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb 2012-01-09 12:09:47 -08:00
mod.c usb: renesas_usbhs: add IRQ resource decoding for IRQF_SHARED 2012-01-24 11:32:56 +02:00
mod.h usb: gadget: renesas_usbhs: fixup section mismatch warning 2011-11-14 11:51:23 -08:00
pipe.c usb: renesas: pipe: convert a long if into a XOR operation 2011-12-21 13:24:43 +02:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_is_stall() 2011-12-12 11:45:15 +02:00