1
0
Fork 0
alistair23-linux/drivers/staging/media
From: Gustavo A. R. Silva 2b7db29b79 media: imx-media-csi: Fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in imx_csi_probe.
The proper pointer to be passed as argument is pinctrl
instead of priv->vdev.

This issue was detected with the help of Coccinelle.

Fixes: 52e17089d1 ("media: imx: Don't initialize vars that won't be used")

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-05-04 06:21:06 -04:00
..
atomisp media: staging: atomisp: stop duplicating input format types 2018-04-04 07:36:30 -04:00
bcm2048 vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
davinci_vpfe media: staging: media: davinci_vpfe: fix spelling of resizer_configure_in_continious_mode 2018-04-04 06:12:52 -04:00
imx media: imx-media-csi: Fix inconsistent IS_ERR and PTR_ERR 2018-05-04 06:21:06 -04:00
imx074 media: imx074: deprecate, move to staging 2018-02-23 02:30:26 -05:00
mt9t031 media: mt9t031: deprecate, move to staging 2018-02-23 02:31:38 -05:00
omap4iss media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
tegra-vde media: staging: tegra-vde: select DMA_SHARED_BUFFER 2018-01-23 08:05:01 -05:00
Kconfig media: cxd2099: move driver out of staging into dvb-frontends 2018-03-06 08:50:18 -05:00
Makefile media: cxd2099: move driver out of staging into dvb-frontends 2018-03-06 08:50:18 -05:00