From 5d1646d90e1f2cceb9f0828f4b28318cd0ec7744 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 12:05:51 +0200 Subject: Adding upstream version 5.10.209. Signed-off-by: Daniel Baumann --- drivers/media/pci/cx18/cx18-video.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 drivers/media/pci/cx18/cx18-video.c (limited to 'drivers/media/pci/cx18/cx18-video.c') diff --git a/drivers/media/pci/cx18/cx18-video.c b/drivers/media/pci/cx18/cx18-video.c new file mode 100644 index 000000000..2fde8c2d3 --- /dev/null +++ b/drivers/media/pci/cx18/cx18-video.c @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * cx18 video interface functions + * + * Copyright (C) 2007 Hans Verkuil + */ + +#include "cx18-driver.h" +#include "cx18-video.h" +#include "cx18-cards.h" + +void cx18_video_set_io(struct cx18 *cx) +{ + int inp = cx->active_input; + + v4l2_subdev_call(cx->sd_av, video, s_routing, + cx->card->video_inputs[inp].video_input, 0, 0); +} -- cgit v1.2.3