diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-07-31 14:02:12 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-08-14 20:27:55 +0200 |
commit | 90fbb259b469e859c42edf22f476ad06a0efde38 (patch) | |
tree | f6007c47394e3ead2d0496f63bd8add22894d89a /drivers/media/platform/ti/omap3isp/isppreview.c | |
parent | f312dc7cf15c5cc839502c0934e7b42c6d766cb2 (diff) |
media: platform: ti: fix the return value handle for platform_get_irq()
There is no possible for platform_get_irq() to return 0,
and the return value of platform_get_irq() is more sensible
to show the error reason.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/ti/omap3isp/isppreview.c')
0 files changed, 0 insertions, 0 deletions