media: rockchip: isp: fix buf config for isp20 and isp21

Change-Id: Ide1a32188009c4506f47648fc00f6430178851d6
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
Cai YiWei
2024-10-09 11:00:42 +08:00
committed by Tao Huang
parent 0dd32e1030
commit efc5c4ca8f

View File

@@ -356,7 +356,7 @@ void rkisp_config_dmatx_valid_buf(struct rkisp_device *dev)
if (!isp ||
(isp && !(isp->isp_inp & INP_CSI)))
continue;
for (j = RKISP_STREAM_DMATX0; j < RKISP_MAX_STREAM; j++) {
for (j = RKISP_STREAM_DMATX0; j <= RKISP_STREAM_DMATX3; j++) {
stream = &isp->cap_dev.stream[j];
if (!stream->linked || stream->curr_buf || stream->next_buf)
continue;