]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ccs: Track streaming state
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 3 Oct 2023 09:46:19 +0000 (12:46 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 14 Jan 2026 22:33:04 +0000 (23:33 +0100)
commit24b2208053d2262f554edc3fc721f1fdbac8ec7a
treecdbc3be34a8321fcf9f070cd7de814883b0ce620
parent7d2909830e69257843d8def3ea9f839891c118e3
media: ccs: Track streaming state

With enable_streams and disable_streams, the driver for a device where
streams are not independently started and stopped needs to maintain state
information on streams that have been requested to be started. Do that
now.

In the future, a helper function in the framework is a desirable way to do
this instead.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Julien Massot <julien.massot@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ccs/ccs-core.c
drivers/media/i2c/ccs/ccs.h