]> git.ipfire.org Git - thirdparty/linux.git/commit
media: imx355: Use subdev active state
authorJai Luthra <jai.luthra@ideasonboard.com>
Thu, 30 Oct 2025 08:42:59 +0000 (14:12 +0530)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 13 Nov 2025 09:57:52 +0000 (10:57 +0100)
commitdf3ef05b51e02ef9386346288c1e63f366372f5b
tree82fc15c9cd19eb8d6fc12c5d13c730a5ef223f26
parent34af620e67550da1f693914a3a881a024e949014
media: imx355: Use subdev active state

Port the driver to use the subdev active state. This simplifies locking,
and makes it easier to support different crop sizes for binned modes, by
storing the crop rectangle inside the subdev state.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/imx335.c