media: v4l: subdev: Add trivial set_routing support
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 31 Aug 2023 12:40:07 +0000 (15:40 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 29 Apr 2024 12:56:37 +0000 (14:56 +0200)
commit1bfef49741fde3fa4a4d3276352e25a6a2a86499
tree10a69a59ef0ccd87283f467f6da52a467739e1dc
parent91e99e5a0bed1084ab5db2a69923b248039408ae
media: v4l: subdev: Add trivial set_routing support

Add trivial S_ROUTING IOCTL support for drivers where routing is static.
Essentially this means returning the same information G_ROUTING call would
have done.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Co-developed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Julien Massot <julien.massot@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/v4l2-core/v4l2-subdev.c