git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409a15d
)
USB: gadget: Fix "scheduling while atomic" bugs in ci13xxx_udc
author
Pavankumar Kondeti
<pkondeti@codeaurora.org>
Tue, 7 Dec 2010 12:24:00 +0000
(17:54 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 10 Dec 2010 22:23:33 +0000
(14:23 -0800)
dma_pool_alloc() require sleeping context when called with GFP_KERNEL
argument. Hence release the spin lock before calling dma_pool_alloc().
usb_ep_alloc_request can also be called with non-atomic GFP flags. Hence
get rid off spin lock while allocation request memory.
Use GFP_ATOMIC flag for allocating request for ep0 in interrupt handler.
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ci13xxx_udc.c
patch
|
blob
|
history
diff --cc
drivers/usb/gadget/ci13xxx_udc.c
Simple merge