[media] media: i.MX27 camera: return IRQ_NONE if no IRQ status bit is set
authorJavier Martin <javier.martin@vista-silicon.com>
Mon, 13 Feb 2012 13:51:53 +0000 (10:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 12:45:06 +0000 (09:45 -0300)
commit665ad8af8f93ed9b54e99f37e24def6f623698c6
tree975c10084299a302ed1888e221353273a1bf435a
parent8636ead8b2d738b5b1b9a0c2e6070e3458a47d14
[media] media: i.MX27 camera: return IRQ_NONE if no IRQ status bit is set

If active_bufs() list is empty and no IRQ status bit is set
we are probably dealing with a share IRQ. Return IRQ_NONE in
this case.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx2_camera.c