media: staging: rkisp1: remove the 'is_streaming' field from stats and params
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Fri, 2 Oct 2020 18:42:20 +0000 (20:42 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:08 +0000 (10:31 +0100)
commit3fcd2d42a071f858a9e6050db4f87c13eeded953
treed918257e97bc3cbee57a8e9b77f18f91f9644183
parent60fcc5beb80cbdaeb0ced74428d9a2c731e6c57c
media: staging: rkisp1: remove the 'is_streaming' field from stats and params

The params and stats entities have a field 'is_streaming'.
This field is not needed since the entities can have available
buffers only if they stream and therefore it is enough to
check if there are buffers available.
As a result, their start_stream callbacks can be removed since
they only set the 'is_streaming' field.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-common.h
drivers/staging/media/rkisp1/rkisp1-params.c
drivers/staging/media/rkisp1/rkisp1-stats.c