[PATCH 14/16] media: rkisp1: Disable resizer stream before capture device
Daniel Scally
dan.scally at ideasonboard.com
Mon Nov 2 23:40:50 PST 2026
In rkisp1_pipeline_stream_disable() the current implementation
calls rkisp1_cap_stream_disable() before sending the stream off
signal to the resizer subdevice, which will make its way down the
chain of subdevices to the sensor. This means that much of the stop
operation happens whilst data is still being sent to the ISP. Switch
the ordering so that the stream-off call to the resizer subdevice is
made first.
Signed-off-by: Daniel Scally <dan.scally at ideasonboard.com>
---
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c b/drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
index 84d66da484df7cbc29700efc433b1271d594ff78..3204f5afe3bbf1a5de88d57b50a120e716b1345b 100644
--- a/drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
+++ b/drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
@@ -1066,9 +1066,9 @@ static void rkisp1_pipeline_stream_disable(struct rkisp1_capture *cap)
{
struct rkisp1_device *rkisp1 = cap->rkisp1;
- rkisp1_cap_stream_disable(cap);
v4l2_subdev_disable_streams(&rkisp1->resizer_devs[cap->id].sd,
RKISP1_RSZ_PAD_SRC, BIT(0));
+ rkisp1_cap_stream_disable(cap);
}
/*
--
2.43.0
More information about the linux-arm-kernel
mailing list