diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-18 02:58:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-18 02:58:47 -0300 |
commit | 6d83195593e60b67de6cfd569b5138e70af93408 (patch) | |
tree | 45c85ed46fa6088d4f5c0d93249b1504237c57c2 /linux/drivers/media/video/au0828 | |
parent | d0db8610838988ce38aff9812c90d8623097e0f5 (diff) | |
parent | a3f229ca91e3b8f799c2799ab2cf3398fff6bcaf (diff) | |
download | mediapointer-dvb-s2-6d83195593e60b67de6cfd569b5138e70af93408.tar.gz mediapointer-dvb-s2-6d83195593e60b67de6cfd569b5138e70af93408.tar.bz2 |
merge: http://kernellabs.com/hg/~dheitmueller/au0828-oldkernel-compilefix
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/au0828')
-rw-r--r-- | linux/drivers/media/video/au0828/au0828-cards.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/video/au0828/au0828-video.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-cards.c b/linux/drivers/media/video/au0828/au0828-cards.c index 053bbe8c8..830c4a933 100644 --- a/linux/drivers/media/video/au0828/au0828-cards.c +++ b/linux/drivers/media/video/au0828/au0828-cards.c @@ -136,9 +136,9 @@ int au0828_tuner_callback(void *priv, int component, int command, int arg) /* Tuner Reset Command from xc5000 */ /* Drive the tuner into reset and out */ au0828_clear(dev, REG_001, 2); - mdelay(200); + mdelay(10); au0828_set(dev, REG_001, 2); - mdelay(50); + mdelay(10); return 0; } else { printk(KERN_ERR diff --git a/linux/drivers/media/video/au0828/au0828-video.c b/linux/drivers/media/video/au0828/au0828-video.c index a2414818c..ef44aa831 100644 --- a/linux/drivers/media/video/au0828/au0828-video.c +++ b/linux/drivers/media/video/au0828/au0828-video.c @@ -834,6 +834,9 @@ static int au0828_v4l2_close(struct file *filp) au0828_uninit_isoc(dev); + /* Save some power by putting tuner to sleep */ + v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_standby); + /* When close the device, set the usb intf0 into alt0 to free USB bandwidth */ ret = usb_set_interface(dev->usbdev, 0, 0); |