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