[5/6] media: ivsc: csi: Don't mask v4l2_fwnode_endpoint_parse return value
Commit Message
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>
---
drivers/media/pci/intel/ivsc/mei_csi.c | 1 -
1 file changed, 1 deletion(-)
@@ -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;
}