diff options
| author | Neil Zhang <[email protected]> | 2012-07-10 10:07:03 +0800 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2012-08-23 11:04:15 +0300 |
| commit | 0344606bec0f3325ba9c1d4de74a5dd98911916d (patch) | |
| tree | d18efbbdb0ed15eef5b17f321ce7d3d20dfad21c /tools/perf/scripts/python | |
| parent | a07bc24e2773e11cb4a6c03d72cd3cdb50c41914 (diff) | |
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 <[email protected]>
Signed-off-by: Neil Zhang <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions