WSL2-Linux-Kernel/drivers/staging
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
..
android
board
clocking-wizard
comedi
dgnc
emxx_udc
fbtft
fsl-dpaa2
fsl-mc
fwserial
gdm724x
goldfish
greybus
gs_fpgaboot
iio
ipx
ks7010
lustre page cache: use xa_lock 2018-04-11 10:28:39 -07:00
media media: imx-media-csi: Fix inconsistent IS_ERR and PTR_ERR 2018-05-04 06:21:06 -04:00
most
mt29f_spinand MTD changes: 2018-04-06 12:15:41 -07:00
mt7621-dma
mt7621-dts
mt7621-eth
mt7621-gpio
mt7621-mmc
mt7621-pci
mt7621-pinctrl
mt7621-spi
ncpfs
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
rtl8192e
rtl8192u
rtl8712
rtl8723bs
rtlwifi headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
rts5208
skein
sm750fb
speakup
typec
unisys
vboxvideo
vc04_services
vme
vt6655
vt6656
wilc1000 staging: wilc1000: fix NULL pointer exception in host_int_parse_assoc_resp_info() 2018-04-23 15:57:38 +02:00
wlan-ng
xgifb
Kconfig
Makefile