Commit e4b8bc52 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab

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: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a37791c5
...@@ -829,6 +829,9 @@ static int au0828_v4l2_close(struct file *filp) ...@@ -829,6 +829,9 @@ static int au0828_v4l2_close(struct file *filp)
au0828_uninit_isoc(dev); 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 /* When close the device, set the usb intf0 into alt0 to free
USB bandwidth */ USB bandwidth */
ret = usb_set_interface(dev->usbdev, 0, 0); ret = usb_set_interface(dev->usbdev, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment