linux-stable/drivers/staging/media/imx
Gustavo A. R. Silva b605687cf5 media: staging: imx-media-vdic: fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in vdic_get_ipu_resources.
The proper pointer to be passed as argument is ch.

This issue was detected with the help of Coccinelle.

Fixes: 0b2e9e7947 ("media: staging/imx: remove confusing IS_ERR_OR_NULL usage")

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-02-26 07:56:20 -05:00
..
imx-ic-common.c [media] media: imx: Add IC subdev drivers 2017-06-20 07:41:24 -03:00
imx-ic-prp.c media: staging/imx: remove static subdev arrays 2017-12-15 14:06:58 -05:00
imx-ic-prpencvf.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
imx-ic.h [media] media: imx: Add IC subdev drivers 2017-06-20 07:41:24 -03:00
imx-media-capture.c media: staging/imx: convert static vdev lists to list_head 2017-12-15 14:08:03 -05:00
imx-media-csi.c media: staging/imx: remove static subdev arrays 2017-12-15 14:06:58 -05:00
imx-media-dev.c media: imx: fix breakages when compiling for arm 2017-12-29 14:55:41 -05:00
imx-media-fim.c media: staging: imx: use ktime_t for timestamps 2017-12-08 11:22:04 -05:00
imx-media-internal-sd.c media: staging/imx: remove static subdev arrays 2017-12-15 14:06:58 -05:00
imx-media-of.c media: staging/imx: remove static subdev arrays 2017-12-15 14:06:58 -05:00
imx-media-utils.c media: staging/imx: convert static vdev lists to list_head 2017-12-15 14:08:03 -05:00
imx-media-vdic.c media: staging: imx-media-vdic: fix inconsistent IS_ERR and PTR_ERR 2018-02-26 07:56:20 -05:00
imx-media.h media: staging/imx: reorder function prototypes 2017-12-15 14:09:42 -05:00
imx6-mipi-csi2.c media: i.MX6: Fix MIPI CSI-2 LP-11 check 2017-12-11 13:04:49 -05:00
Kconfig media: imx: allow to build with COMPILE_TEST 2018-02-26 06:53:44 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO media: staging/imx: update TODO 2017-12-15 14:10:26 -05:00