diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2009-05-06 20:54:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:21:07 -0300 |
commit | e4b8bc524141f48af29f5c3096ac96701cf39c8a (patch) | |
tree | 46aadfddc37bbef9183a54b4a139cf663a48237a /drivers/media/video/au0828 | |
parent | a37791c54066d268cb616233b699ebe275d3a888 (diff) | |
download | linux-stable-e4b8bc524141f48af29f5c3096ac96701cf39c8a.tar.gz linux-stable-e4b8bc524141f48af29f5c3096ac96701cf39c8a.tar.bz2 linux-stable-e4b8bc524141f48af29f5c3096ac96701cf39c8a.zip |
V4L/DVB (11805): au0828: send command to power down tuner when done with analog
Make sure the au0828 issues the command to power down the tuner when the
user is done using analog support.
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828')
-rw-r--r-- | drivers/media/video/au0828/au0828-video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/au0828/au0828-video.c b/drivers/media/video/au0828/au0828-video.c index 27bedc6c7791..f42f3deaa03b 100644 --- a/drivers/media/video/au0828/au0828-video.c +++ b/drivers/media/video/au0828/au0828-video.c @@ -829,6 +829,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); |