]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: i2c: ov9282: Convert to CCI register access helpers
authorXiaolei Wang <xiaolei.wang@windriver.com>
Thu, 5 Mar 2026 04:33:48 +0000 (12:33 +0800)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 11 Mar 2026 00:05:33 +0000 (01:05 +0100)
commit273f52f3cbec3adc50fbb73e6a1a3c9d5f968773
tree06d3f582a86ff5f866de4d781c4c5765ec64a480
parent87ebce19aa03fd51aa9e7ab054e8705b7bb990b0
media: i2c: ov9282: Convert to CCI register access helpers

Use the new common CCI register access helpers to replace the private
register access helpers in the ov9282 driver. This simplifies the driver
by reducing the amount of code.

Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
Reviewed-by: Tarang Raval <tarang.raval@siliconsignals.io>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
[Sakari Ailus: Declare ret_hold earlier to make old GCC happy.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/Kconfig
drivers/media/i2c/ov9282.c