Revert "media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse"
This reverts commit 1e643cc6a8
.
This commit is contained in:
parent
d0f250e55f
commit
fb8a13301a
1 changed files with 1 additions and 4 deletions
|
@ -431,11 +431,8 @@ static int camss_of_parse_endpoint_node(struct device *dev,
|
|||
struct v4l2_fwnode_bus_mipi_csi2 *mipi_csi2;
|
||||
struct v4l2_fwnode_endpoint vep = { { 0 } };
|
||||
unsigned int i;
|
||||
int ret;
|
||||
|
||||
ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep);
|
||||
if (ret)
|
||||
return ret;
|
||||
v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep);
|
||||
|
||||
csd->interface.csiphy_id = vep.base.port;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue