summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-05-22 14:07:36 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-06-06 13:51:57 +0300
commitfbc318afadd6e7ae2252d6158cf7d0c5a2132f7d (patch)
tree23ee9d920d8c41c1dbe80e0be5443920fab4daf5 /kernel
parent62fd0e0a24abeebe2c19fce49dd5716d9b62042d (diff)
usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
Gadget drivers may queue request in interrupt context. This would lead to a descriptor allocation in that context. In that case we would hit BUG_ON(in_interrupt()) in __get_vm_area_node. Also remove the unnecessary cast. Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Tested-by: James Grant <jamesg@zaltys.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions