Tomi Valkeinen 14a6fca77a media: subdev: add v4l2_subdev_get_fmt() helper function
Add v4l2_subdev_get_fmt() helper function which implements
v4l2_subdev_pad_ops.get_fmt using active state. Subdev drivers that
support active state and do not need to do anything special in their
get_fmt op can use this helper directly for v4l2_subdev_pad_ops.get_fmt.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-04-24 08:23:23 +01:00
..
2022-04-15 11:38:55 -07:00
2022-03-04 13:41:57 +10:00
2022-04-01 09:37:18 -07:00
2022-04-16 17:01:43 -07:00
2022-02-25 09:36:06 +01:00
2022-03-24 16:19:43 -07:00
2022-04-14 11:08:12 -07:00
2022-04-12 14:23:19 -10:00