Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: imx-media-csi: Do not propagate the error when pinctrl is not …
…found Since commit 52e1708 ("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 <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Steve Longerbeam <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information