media: ivsc: csi: Don't mask v4l2_fwnode_endpoint_parse return value

v4l2_fwnode_endpoint_parse already returns an error value, don't set
return value to -EINVAL.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Wentong Wu <wentong.wu@intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Sakari Ailus 2023-10-16 10:32:27 +03:00 committed by Hans Verkuil
parent 623017a4bb
commit 096bc4f149

View file

@ -660,7 +660,6 @@ static int mei_csi_parse_firmware(struct mei_csi *csi)
ret = v4l2_fwnode_endpoint_parse(ep, &v4l2_ep);
if (ret) {
dev_err(dev, "could not parse v4l2 endpoint\n");
ret = -EINVAL;
goto out_nf_cleanup;
}