xref: /linux/drivers/media/pci/cx18/cx18-video.c (revision 58d416351e6df1a41d415958ccdd8eb9c2173fed)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  *  cx18 video interface functions
4  *
5  *  Copyright (C) 2007  Hans Verkuil <hverkuil@xs4all.nl>
6  */
7 
8 #include "cx18-driver.h"
9 #include "cx18-video.h"
10 #include "cx18-cards.h"
11 
12 void cx18_video_set_io(struct cx18 *cx)
13 {
14 	int inp = cx->active_input;
15 
16 	v4l2_subdev_call(cx->sd_av, video, s_routing,
17 			cx->card->video_inputs[inp].video_input, 0, 0);
18 }
19