usb: gadget: uvc: Use GFP_ATOMIC under spin lock
authorCyril Roelandt <tipecaml@gmail.com>
Fri, 1 Mar 2013 19:46:32 +0000 (20:46 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:22 +0000 (11:18 +0200)
commit6854bcdc6ff92e3a9c24940a3c5ebb446950c974
tree904756f4e0e7e1d569ad086f91cfd69c92b5b095
parent326b0e613bc858434198120a17d34308f82c27a8
usb: gadget: uvc: Use GFP_ATOMIC under spin lock

Found using the following semantic patch:
<spml>
@@
@@
spin_lock_irqsave(...);
... when != spin_unlock_irqrestore(...);
* GFP_KERNEL
</spml>

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/uvc_video.c