V4L/DVB (9764): em28xx: Add support for suspend the device when not used
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Nov 2008 12:10:40 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:43 +0000 (17:53 -0200)
commit2fe3e2ee72ef17daad1d3769321bb7dd69a003a9
tree1d2e7a225417759a5ad55408d76416af5e7e6eb8
parentf502e861849ade3a128964410c87acedf437a6a1
V4L/DVB (9764): em28xx: Add support for suspend the device when not used

Several chips may be turned off when the device is not used, like audio,
video and dvb demods. This patch adds a gpio callback at the core
structs to allow turning off such devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx-dvb.c
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx.h