]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] exynos4-is: fix error handling of irq_of_parse_and_map
authorDmitry Torokhov <dtor@chromium.org>
Fri, 14 Nov 2014 22:09:50 +0000 (19:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 14:47:13 +0000 (12:47 -0200)
commit9a7a848df1995f05f750b4ed491ac80a459c912f
tree0c7dcef36238ac33caaee4e11361e2ef876c023a
parent460c8a7c25fef0712abdeeefd07bf02a8e8cb9e1
[media] exynos4-is: fix error handling of irq_of_parse_and_map

Return value of irq_of_parse_and_map() is unsigned int, with 0
indicating failure, so testing for negative result never works.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/exynos4-is/fimc-is.c