media: subdev: add streams to v4l2_subdev_get_fmt() helper function
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Tue, 21 Dec 2021 10:23:13 +0000 (11:23 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 22 Jan 2023 08:41:25 +0000 (09:41 +0100)
commit72c5fbcaa33d88b3e642da7c07741bf5364ce12c
tree9a47ae2655b249982e86f90431764815782950d0
parentd00f1a075ce13c7d71ca00083be110877874a403
media: subdev: add streams to v4l2_subdev_get_fmt() helper function

Add streams support to v4l2_subdev_get_fmt() helper function. Subdev
drivers that 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-subdev.c