public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: Use v4l2_subdev_get_fmt()
@ 2023-08-30  4:53 Umang Jain
  2023-08-30  4:53 ` [PATCH 1/2] media: i2c: imx214: " Umang Jain
  2023-08-30  4:53 ` [PATCH 2/2] media: i2c: imx415: " Umang Jain
  0 siblings, 2 replies; 7+ messages in thread
From: Umang Jain @ 2023-08-30  4:53 UTC (permalink / raw)
  To: linux-media, linux-kernel
  Cc: Michael Riesch, Sakari Ailus, Mauro Carvalho Chehab,
	Ricardo Ribalda, Laurent Pinchart, Kieran Bingham, Umang Jain

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(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-30 19:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30  4:53 [PATCH 0/2] media: Use v4l2_subdev_get_fmt() Umang Jain
2023-08-30  4:53 ` [PATCH 1/2] media: i2c: imx214: " Umang Jain
2023-08-30  7:19   ` Laurent Pinchart
2023-08-30  7:22     ` Umang Jain
2023-08-30  4:53 ` [PATCH 2/2] media: i2c: imx415: " Umang Jain
2023-08-30  6:54   ` Michael Riesch
2023-08-30  7:20   ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox