summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/siano
diff options
context:
space:
mode:
authorFrom: Gustavo A. R. Silva <gustavo@embeddedor.com>2018-04-16 13:28:56 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-04 06:21:06 -0400
commit2b7db29b79190f7ad5c32f63594ba08b9b9171ea (patch)
tree0d64732a7a0bee15795f1561c92a742c3ee0f664 /drivers/media/usb/siano
parent6da6c0db5316275015e8cc2959f12a17584aeb64 (diff)
downloadblackbird-op-linux-2b7db29b79190f7ad5c32f63594ba08b9b9171ea.tar.gz
blackbird-op-linux-2b7db29b79190f7ad5c32f63594ba08b9b9171ea.zip
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: 52e17089d185 ("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>
Diffstat (limited to 'drivers/media/usb/siano')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud