summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-01 07:36:31 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-01 07:36:31 -0300
commite149dc20dba1c192f28fbeab92aac7f004a41273 (patch)
tree18aaa82ffabd3790e47ef35e2f631932ef5c46e8 /linux/drivers/media/video/em28xx/em28xx-core.c
parentfdab553be22b01acd8124650ed75da649169596f (diff)
parente8b1f94e600957e27366e37a729126388c705c7d (diff)
downloadmediapointer-dvb-s2-e149dc20dba1c192f28fbeab92aac7f004a41273.tar.gz
mediapointer-dvb-s2-e149dc20dba1c192f28fbeab92aac7f004a41273.tar.bz2
merge: http://linuxtv.org/hg/~anttip/af9015/
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-core.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-core.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-core.c b/linux/drivers/media/video/em28xx/em28xx-core.c
index 4edd3870e..08eb11e72 100644
--- a/linux/drivers/media/video/em28xx/em28xx-core.c
+++ b/linux/drivers/media/video/em28xx/em28xx-core.c
@@ -1030,11 +1030,12 @@ void em28xx_wake_i2c(struct em28xx *dev)
struct v4l2_routing route;
int zero = 0;
- route.input = INPUT(dev->ctl_input)->vmux;
+ route.input = INPUT(dev->ctl_input)->vmux;
route.output = 0;
- em28xx_i2c_call_clients(dev, VIDIOC_INT_RESET, &zero);
- em28xx_i2c_call_clients(dev, VIDIOC_INT_S_VIDEO_ROUTING, &route);
- em28xx_i2c_call_clients(dev, VIDIOC_STREAMON, NULL);
+
+ v4l2_device_call_all(&dev->v4l2_dev, 0, core, reset, zero);
+ v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_routing, &route);
+ v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0);
}
/*