libcamera: pipeline: rkisp1: Fix usage of uninitialised variable
Commit1a813a5c3aintroduced 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:
@@ -159,12 +159,9 @@ int PipelineHandlerRkISP1::configureStreams(Camera *camera,
|
||||
|
||||
ret = link->setEnabled(enable);
|
||||
if (ret < 0)
|
||||
break;
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
/*
|
||||
* Configure the format on the sensor output and propagate it through
|
||||
* the pipeline.
|
||||
|
||||
Reference in New Issue
Block a user