media: i2c: imx219: Switch from open to init_cfg
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Mon, 10 Jul 2023 15:51:58 +0000 (17:51 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:39 +0000 (07:58 +0200)
commit7e700847b1fecbaacfcd25107acb5c5b0301aa75
tree50f552e3a06c138f66c0e9a889374083d2d21be4
parent917e26cb005a3296b03e49f9e5063db613013bce
media: i2c: imx219: Switch from open to init_cfg

Use the init_cfg pad level operation instead of the internal subdev
open operation to set default formats on the pads.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/imx219.c