mbox series

[0/2] media: Use v4l2_subdev_get_fmt()

Message ID 20230830045323.71768-1-umang.jain@ideasonboard.com (mailing list archive)
Headers show
Series media: Use v4l2_subdev_get_fmt() | expand

Message

Umang Jain Aug. 30, 2023, 4:53 a.m. UTC
Driver of imx214 and imx415 uses subdev active state,
there's no need to implement the .get_fmt() operation.
Use the v4l2_subdev_get_fmt() helper instead.

I don't have the sensors, so the patches are compile-tested
only.

Umang Jain (2):
  media: i2c: imx214: Use v4l2_subdev_get_fmt()
  media: i2c: imx415: Use v4l2_subdev_get_fmt()

 drivers/media/i2c/imx214.c | 17 +----------------
 drivers/media/i2c/imx415.c | 11 +----------
 2 files changed, 2 insertions(+), 26 deletions(-)