[media] mx2_camera: use GFP_ATOMIC under spin lock
authorCyril Roelandt <tipecaml@gmail.com>
Mon, 19 Nov 2012 21:36:09 +0000 (18:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 4 Dec 2012 17:03:59 +0000 (15:03 -0200)
commit4a8a8042be289f6d53fc6cbfbed1722db14d7af1
treef50ff50f67c128168a9eedbdfeed5e125acf55c0
parentbc1ebd704751bb6b86612e63fdfac56918364d07
[media] mx2_camera: 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: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/mx2_camera.c