]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DVB: dib0700, add support for Nova-TD LEDs
authorJiri Slaby <jslaby@suse.cz>
Tue, 10 Jan 2012 17:11:25 +0000 (14:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 18 Jan 2012 01:02:41 +0000 (23:02 -0200)
commitaf55e174f15b3ea0dd231195b0f71c881fedbb1e
treedfa1a7123d83de466e3ebad5c7c51d8d3e80b86d
parentf7c0a53ee50e5ab83d3d50372fb05f5081e048dd
[media] DVB: dib0700, add support for Nova-TD LEDs

Add an override of read_status to intercept lock status. This allows
us to switch LEDs appropriately on and off with signal un/locked.

The second phase is to override sleep to properly turn off both.

This is a hackish way to achieve that.

Thanks to Mike Krufky for his help.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700.h
drivers/media/dvb/dvb-usb/dib0700_devices.c