V4L/DVB (8039): pxa-camera: fix platform_get_irq() error handling.
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Fri, 13 Jun 2008 12:03:45 +0000 (09:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:50 +0000 (15:58 -0300)
commit02da465945ae0a277aadf2bf37965a9e6c28f8c3
treefc262b379d5ca2fc448d74606cbbe40354a72b09
parent7ae1ac4c1db5a3647604acb00d736f17af6999b7
V4L/DVB (8039): pxa-camera: fix platform_get_irq() error handling.

platform_get_irq() returns a negative value on error, not 0.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pxa_camera.c