summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx231xx/cx231xx-video.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-04-05 18:03:02 +0200
committerJean-Francois Moine <moinejf@free.fr>2009-04-05 18:03:02 +0200
commitbcaafb56e4c3741c1923db37683a4590dda2cbfb (patch)
tree4ade810f7cbd3425665c1ce57769745871565866 /linux/drivers/media/video/cx231xx/cx231xx-video.c
parentffa071fb6b99731b41db5e814dbb2b0403c7c98c (diff)
parent8dd3ceb79cec4a833fbc9fd654b7e71e9548d331 (diff)
downloadmediapointer-dvb-s2-bcaafb56e4c3741c1923db37683a4590dda2cbfb.tar.gz
mediapointer-dvb-s2-bcaafb56e4c3741c1923db37683a4590dda2cbfb.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/cx231xx/cx231xx-video.c')
-rw-r--r--linux/drivers/media/video/cx231xx/cx231xx-video.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/linux/drivers/media/video/cx231xx/cx231xx-video.c b/linux/drivers/media/video/cx231xx/cx231xx-video.c
index d53ddcb6a..638a8d3e4 100644
--- a/linux/drivers/media/video/cx231xx/cx231xx-video.c
+++ b/linux/drivers/media/video/cx231xx/cx231xx-video.c
@@ -820,17 +820,12 @@ static struct videobuf_queue_ops cx231xx_video_qops = {
void video_mux(struct cx231xx *dev, int index)
{
-
- struct v4l2_routing route;
-
- route.input = INPUT(index)->vmux;
- route.output = 0;
dev->video_input = index;
dev->ctl_ainput = INPUT(index)->amux;
cx231xx_set_video_input_mux(dev, index);
- cx25840_call(dev, video, s_routing, &route);
+ cx25840_call(dev, video, s_routing, INPUT(index)->vmux, 0, 0);
cx231xx_set_audio_input(dev, dev->ctl_ainput);
@@ -1089,7 +1084,7 @@ static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *norm)
dev->height = f.fmt.pix.height;
get_scale(dev, dev->width, dev->height, &dev->hscale, &dev->vscale);
- call_all(dev, tuner, s_std, dev->norm);
+ call_all(dev, core, s_std, dev->norm);
mutex_unlock(&dev->lock);
@@ -2125,7 +2120,7 @@ static int cx231xx_v4l2_close(struct file *filp)
}
/* Save some power by putting tuner to sleep */
- call_all(dev, core, s_standby, 0);
+ call_all(dev, tuner, s_standby);
/* do this before setting alternate! */
cx231xx_uninit_isoc(dev);