summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-03-03 13:56:30 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-04 12:12:53 +0200
commitdd5747fb9235d28ac2534e0ad4826a810a93e003 (patch)
tree0092fb8cbbd48e21e8119dd008226ff8e5dd02c2 /include/media/v4l2-common.h
parentmedia: media-types.rst: rename media-entity-type to media-entity-functions (diff)
downloadlinux-dd5747fb9235d28ac2534e0ad4826a810a93e003.tar.xz
linux-dd5747fb9235d28ac2534e0ad4826a810a93e003.zip
media: imx-media-csi: Do not propagate the error when pinctrl is not found
Since commit 52e17089d185 ("media: imx: Don't initialize vars that won't be used") imx_csi_probe() fails to probe after propagating the devm_pinctrl_get_select_default() error. devm_pinctrl_get_select_default() may return -ENODEV when the CSI pinctrl entry is not found, so better not to propagate the error in the -ENODEV case to avoid a regression. Suggested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Steve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions