]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/tuners/xc4000.c
[media] xc4000: implemented power management
authorIstvan Varga <istvan_v@mailbox.hu>
Sat, 4 Jun 2011 15:03:03 +0000 (12:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:36 +0000 (17:52 -0300)
commit5272f6b1f423d4ce636dc90f190e245897bdb045
tree09f3a634a8cf78c5d5b9e258dc9f650e336ccd04
parent0b4021321c0536a3368746497686ce56e5bcf3e5
[media] xc4000: implemented power management

The following patch implements the xc4000_sleep() function.
The 'no_powerdown' module parameter is now interpreted differently:
  - 0 uses a device-specific default
  - 1 disables power management like before
  - 2 enables power management

Signed-off-by: Istvan Varga <istvan_v@mailbox.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc4000.c