media: rockchip: vicap disable capture and dma enable bit in fs intr

when app stop stream

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I9187b2f3ffa061bc30fb76f9dbfda5cacabfb920
This commit is contained in:
Zefa Chen
2022-12-28 14:48:05 +08:00
committed by Tao Huang
parent 860506945e
commit 66eaffb030

View File

@@ -9234,6 +9234,7 @@ void rkcif_irq_pingpong_v1(struct rkcif_device *cif_dev)
stream->to_stop_dma = RKCIF_DMAEN_BY_VICAP;
else if (stream->dma_en & RKCIF_DMAEN_BY_ISP)
stream->to_stop_dma = RKCIF_DMAEN_BY_ISP;
stream->is_stop_capture = true;
}
if (stream->to_stop_dma) {
ret = rkcif_stop_dma_capture(stream);