usb: gadget: amd5536udc: unconditionally use GFP_ATOMIC in udc_queue()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Thu, 1 Aug 2013 19:50:47 +0000 (23:50 +0400)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Aug 2013 13:33:31 +0000 (16:33 +0300)
commitffcba5a510af99e9d443b7e577a9cb0515c919e1
tree405e5c85b61074aa7f5e2f19f4ae9758912f18be
parentc0aefc75ce2512bc308a89ca3cb7bece63c1128f
usb: gadget: amd5536udc: unconditionally use GFP_ATOMIC in udc_queue()

As far as prep_dma() is called with spinlock held,
we have to pass GFP_ATOMIC regardless of gfp argument.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/amd5536udc.c