summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dib0700.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-01-10 18:11:25 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-18 02:02:41 +0100
commitd43272a4e898a1e43e5ac351ab625b7a40b39e88 (patch)
treedfa1a7123d83de466e3ebad5c7c51d8d3e80b86d /drivers/media/dvb/dvb-usb/dib0700.h
parent[media] DVB: dib0700, add corrected Nova-TD frontend_attach (diff)
downloadlinux-d43272a4e898a1e43e5ac351ab625b7a40b39e88.tar.xz
linux-d43272a4e898a1e43e5ac351ab625b7a40b39e88.zip
[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>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib0700.h')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700.h b/drivers/media/dvb/dvb-usb/dib0700.h
index 9bd6d51b3b93..7de125c0b36f 100644
--- a/drivers/media/dvb/dvb-usb/dib0700.h
+++ b/drivers/media/dvb/dvb-usb/dib0700.h
@@ -48,6 +48,8 @@ struct dib0700_state {
u8 disable_streaming_master_mode;
u32 fw_version;
u32 nb_packet_buffer_size;
+ int (*read_status)(struct dvb_frontend *, fe_status_t *);
+ int (*sleep)(struct dvb_frontend* fe);
u8 buf[255];
};