summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2010-12-07 17:54:00 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-10 14:23:33 -0800
commit0a91efa2f951d790969dec96fb675ca7869eca83 (patch)
treead63994806977fbe7b2b64ba7711d5a098ab6237 /lib/string.c
parent409a15da9851b6e6a5e1c5787be31a987184b7cf (diff)
USB: gadget: Fix "scheduling while atomic" bugs in ci13xxx_udc
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions