Thomas Gleixner | c942fdd | 2019-05-27 08:55:06 +0200 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 2 | /* |
| 3 | * cx18 video interface functions |
| 4 | * |
| 5 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include "cx18-driver.h" |
| 9 | #include "cx18-video.h" |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 10 | #include "cx18-cards.h" |
| 11 | |
| 12 | void cx18_video_set_io(struct cx18 *cx) |
| 13 | { |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 14 | int inp = cx->active_input; |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 15 | |
Hans Verkuil | 5325b42 | 2009-04-02 11:26:22 -0300 | [diff] [blame] | 16 | v4l2_subdev_call(cx->sd_av, video, s_routing, |
| 17 | cx->card->video_inputs[inp].video_input, 0, 0); |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 18 | } |