[media] atmel-isi: Update error check for unsigned variables
authorTushar Behera <tushar.behera@linaro.org>
Fri, 16 Nov 2012 06:50:37 +0000 (03:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 4 Apr 2013 22:48:50 +0000 (19:48 -0300)
commite35abd4472c4ef235a8c3873d4b37a6b5fb1cb90
treef835ea9ccacc5f7c96842092c500d3cf76e28cb8
parent7b88fc086a217be7d16ec68a7f66093d344e39d7
[media] atmel-isi: Update error check for unsigned variables

Checking '< 0' for unsigned variables always returns false. For error
codes, use IS_ERR_VALUE() instead.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/atmel-isi.c