[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)
commitd43272a4e898a1e43e5ac351ab625b7a40b39e88
treedfa1a7123d83de466e3ebad5c7c51d8d3e80b86d
parent2b05b881ec9b04cc308f0880ea604843bcb2265a
[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