media: stm32: dcmipp: use v4l2_subdev_is_streaming
authorAlain Volmat <alain.volmat@foss.st.com>
Thu, 12 Dec 2024 09:17:28 +0000 (10:17 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 12 Dec 2024 12:22:26 +0000 (13:22 +0100)
commit255e0cc62b9b1afad9b9ba7738d5c53cd0d157fb
treee975851a548e4d92e198d9e49934822e17b0eda2
parentdcb0f4c16be5df6881a952dc510ce3ec01570144
media: stm32: dcmipp: use v4l2_subdev_is_streaming

Rely on v4l2_subdev_is_streaming in order to know if the subdev
is streaming or not instead of relying on a local variable.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c