summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-18 03:01:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-18 03:01:09 -0300
commit5e16d2eb4d2c6cbdb0e47d3918bb2b826748a4c4 (patch)
treea7da2e7bfbc5a985f41fe77dee7c0d5a56dd4f9c /linux/drivers/media/video/au0828/au0828-video.c
parent0144095d5249bc72fdc5930fa52de0fc29a5ac6f (diff)
parent6d83195593e60b67de6cfd569b5138e70af93408 (diff)
downloadmediapointer-dvb-s2-5e16d2eb4d2c6cbdb0e47d3918bb2b826748a4c4.tar.gz
mediapointer-dvb-s2-5e16d2eb4d2c6cbdb0e47d3918bb2b826748a4c4.tar.bz2
merge: http://kernellabs.com/hg/~dheitmueller/em28xx-isoc-fix
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-video.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-video.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-video.c b/linux/drivers/media/video/au0828/au0828-video.c
index 8bc0f0481..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);
@@ -915,11 +918,6 @@ static int au0828_v4l2_mmap(struct file *filp, struct vm_area_struct *vma)
rc = videobuf_mmap_mapper(&fh->vb_vidq, vma);
- dprintk(2, "vma start=0x%08lx, size=%ld, ret=%d\n",
- (unsigned long)vma->vm_start,
- (unsigned long)vma->vm_end-(unsigned long)vma->vm_start,
- rc);
-
return rc;
}