Neil Zhang 0344606bec usb: gadget: mv_udc: avoid sleeping on spinlock
build_dtd() can be called when hold a spinlock, but GFP_KERNEL may cause
dma_pool_alloc() sleep, So we need use GFP_ATOMIC instead of GFP_KERNEL.
But using GFP_ATOMIC may cause failure when allocating memory, add error
handler to handle it.

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-08-23 11:04:15 +03:00
..
2012-05-22 15:50:46 -07:00
2012-05-14 09:25:44 -07:00
2012-05-01 13:34:55 -04:00
2012-07-26 10:23:47 -07:00
2012-07-26 10:23:47 -07:00
2012-07-26 10:23:47 -07:00
2012-07-29 21:24:21 +04:00