media: subdev: add v4l2_subdev_set_routing helper()
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Tue, 21 Dec 2021 10:18:43 +0000 (11:18 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 22 Jan 2023 08:35:33 +0000 (09:35 +0100)
commit17bb9bf819c542b41d7dbddd9fe1ec82ac509604
tree7fe9701c1342d8b3951ad0d2f843b1fbf1d99ca5
parent33c0ddbe56905c98b43d7141f2fe67ae69afba3c
media: subdev: add v4l2_subdev_set_routing helper()

Add a helper function to set the subdev routing. The helper can be used
from subdev driver's set_routing op to store the routing table.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-subdev.c
include/media/v4l2-subdev.h