libcamera: pipeline: rkisp1: Fix usage of uninitialised variable
Commit1a813a5c3a
introduced usage of an uninitialised variable. Fix it. Fixes:1a813a5c3a
("libcamera: media_device: Handle media device fd in acquire() and release()") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
ba5d2c871a
commit
06387039d6
1 changed files with 1 additions and 4 deletions
|
@ -159,12 +159,9 @@ int PipelineHandlerRkISP1::configureStreams(Camera *camera,
|
||||||
|
|
||||||
ret = link->setEnabled(enable);
|
ret = link->setEnabled(enable);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
break;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret < 0)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configure the format on the sensor output and propagate it through
|
* Configure the format on the sensor output and propagate it through
|
||||||
* the pipeline.
|
* the pipeline.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue