libcamera: pipeline: rkisp1: Don't enable immutable link
Link between resizer and capture is immutable and doesn't need to be enabled. Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
committed by
Niklas Söderlund
parent
700aba5f87
commit
ad5d123578
@@ -872,14 +872,6 @@ int PipelineHandlerRkISP1::initLinks()
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
link = media_->link("rkisp1_resizer_mainpath", 1, "rkisp1_mainpath", 0);
|
||||
if (!link)
|
||||
return -ENODEV;
|
||||
|
||||
ret = link->setEnabled(true);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user