]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (9770): em28xx: turn off tuner when not used
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 5 Dec 2008 13:39:12 +0000 (10:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:15 +0000 (09:38 -0200)
commit74c408352c3af5cc12f435b64ac76c0c8a590f47
tree0f79d5c5d8239c5dafe3c2d311c6611ff1e8a3d4
parentd4e4239f1a7731cddad2e6cc37c084aa5c328a89
V4L/DVB (9770): em28xx: turn off tuner when not used

em28xx devices generally get hot when xc3028 tuner is powered on. This
patch solves this by turning power off when the device is not used, at the
expense of having a higher load time, when calling a TV application.

Since firmware load happens on 1 or 2 seconds on most devices, this is not a pain.

Also, it helps to save the planet by saving some power :)

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