]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: ov5645: Use subdev active state
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 18 Oct 2024 15:32:26 +0000 (16:32 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 7 Nov 2024 08:05:59 +0000 (09:05 +0100)
commitf92711869c534c3c6be2ef5102aea038e7248b4b
tree13765f6b1089736dad561744522964ef29726c54
parentecf85e03b4ab5a387895f71cf13a231277af9fa0
media: i2c: ov5645: Use subdev active state

Port the ov5645 sensor driver to use the subdev active state.

Move all the format configuration to the subdevice state and simplify
the format handling, locking and initialization.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/ov5645.c