mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
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:
parent
623017a4bb
commit
096bc4f149
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue