V4L/DVB: pxa-camera: Unsigned dma_chans[] cannot be negative
authorroel kluin <roel.kluin@gmail.com>
Thu, 18 Sep 2008 20:50:15 +0000 (17:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:02 +0000 (09:37 -0200)
commitde3e3b82a6d15264798d4e36f42abaa69f53ca06
tree44452bd9c81d767d9ab7965eff5021330f7f2513
parent26dc4d0487bb8b8de32d09c18a83c63d622156f2
V4L/DVB: pxa-camera: Unsigned dma_chans[] cannot be negative

Unsigned dma_chans[] cannot be negative

Also the third time dma_chans[0] < 0 was tested instead of dma_chans[2]

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pxa_camera.c