commit | 6e4b74e4690dd03b5664fa4895c3db0607d64742 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Tue Feb 14 11:37:21 2012 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Tue Feb 14 13:44:53 2012 +0200 |
tree | 607c5bd1c23be029b589971e512458fde91ed0fa | |
parent | d5261286949fc9ada701c7e30bf89e08a6dbf4de [diff] |
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>