diff options
author | Helen Koike <helen.koike@collabora.com> | 2020-02-27 00:00:01 -0300 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-03-20 01:44:57 +0100 |
commit | ad5d123578ca5b0cd8ed43a8d21a62cc55422870 (patch) | |
tree | d91b8bb6622dabc4441acd2f8b5134f8dc100884 | |
parent | 700aba5f87f7a448df6a136f09aaada13bc307a5 (diff) |
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>
-rw-r--r-- | src/libcamera/pipeline/rkisp1/rkisp1.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp index ec54291d..2f909cef 100644 --- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp +++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp @@ -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; } |