vi5: reset capture_reqs_enqueued for stream on/off

Fix capture failed while repeatedly stop/starting streaming
by the VIDIOC_STREAMOFF/VIDIOC_STREAMON

bug 5262740

Change-Id: I1ab61497a1e8e2bfc83e62befc708d9be0662b82
Signed-off-by: snchen <snchen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3356037
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
snchen
2025-05-06 13:47:54 +08:00
committed by mobile promotions
parent b4b7c24bfe
commit 6dcfde2bf7

View File

@@ -471,6 +471,7 @@ void tegra_channel_init_ring_buffer(struct tegra_channel *chan)
chan->capture_descr_index = 0;
chan->capture_descr_sequence = 0;
chan->queue_error = false;
chan->capture_reqs_enqueued = 0;
}
EXPORT_SYMBOL(tegra_channel_init_ring_buffer);