diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 03:11:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:34 -0500 |
commit | 4e9fbeeedc22d287b5d05e32bbc647cd2dc8c663 (patch) | |
tree | f0c0fdeb7f07021dcf85b3bf4d17c977c7790208 | |
parent | 6053240f5cc914d40ac9c7afe15008bf3e46359c (diff) |
V4L/DVB (13744): [Mantis CA] Use Module status to signal Slot events
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/mantis/mantis_ca.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ca.c b/drivers/media/dvb/mantis/mantis_ca.c index 4be61ca02c20..cd6bed737296 100644 --- a/drivers/media/dvb/mantis/mantis_ca.c +++ b/drivers/media/dvb/mantis/mantis_ca.c | |||
@@ -79,6 +79,11 @@ static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot) | |||
79 | 79 | ||
80 | static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) | 80 | static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) |
81 | { | 81 | { |
82 | struct mantis_ca *ca = en50221->data; | ||
83 | |||
84 | if (ca->slot_state == MODULE_INSERTED) | ||
85 | return DVB_CA_EN50221_POLL_CAM_PRESENT | DVB_CA_EN50221_POLL_CAM_READY; | ||
86 | |||
82 | return 0; | 87 | return 0; |
83 | } | 88 | } |
84 | 89 | ||