media: v4l2-mem2mem: use vb2_is_streaming()
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 8 Dec 2022 07:51:32 +0000 (08:51 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 6 Feb 2023 08:00:41 +0000 (09:00 +0100)
commitc43784c856483dded7956175b5786e27af6d87f1
treeb0bcfbdada5e3be6239c55c562e39a09a763bd7e
parenta0799442716c090d8cf4404deec41b96aff03502
media: v4l2-mem2mem: use vb2_is_streaming()

Don't touch q->streaming directly, use the vb2_is_streaming()
function instead.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-mem2mem.c