1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * cx18 video interface functions
5 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
8 #include "cx18-driver.h"
9 #include "cx18-video.h"
10 #include "cx18-cards.h"
12 void cx18_video_set_io(struct cx18 *cx)
14 int inp = cx->active_input;
16 v4l2_subdev_call(cx->sd_av, video, s_routing,
17 cx->card->video_inputs[inp].video_input, 0, 0);