]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ccs: No need to set streaming to false in power off
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 3 Oct 2023 09:48:22 +0000 (12:48 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 14 Jan 2026 22:33:02 +0000 (23:33 +0100)
commit02cab4a097b7b1094783a1634e2daaf0888d6e50
tree12003e692f0f4892b644d3050f6172d29c0753ce
parent04ec8572f8689f577781ba0229b5bb1671c520e0
media: ccs: No need to set streaming to false in power off

Streaming will have been stopped before the sensor is powered off, and so
sensor->streaming is also false already. Do not set it as part of the
runtime suspend callback.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.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