aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/mantis
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 05:23:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:38 -0200
commit5e2a0c99019bbc78d6fb00caf7a79f03df020b3c (patch)
tree492f3b55c244604bd7b68fe93e85a47f97472ccf /drivers/media/dvb/mantis
parent8e0d58ecee2abc12f298862b7f9a90d1593e8006 (diff)
V4L/DVB (13764): [Mantis CA] SLOT: Add some debug status
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis')
-rw-r--r--drivers/media/dvb/mantis/mantis_ca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ca.c b/drivers/media/dvb/mantis/mantis_ca.c
index abd8855cabf..b79a89276e3 100644
--- a/drivers/media/dvb/mantis/mantis_ca.c
+++ b/drivers/media/dvb/mantis/mantis_ca.c
@@ -118,8 +118,12 @@ static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open
dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): Poll Slot status", slot);
- if (ca->slot_state == MODULE_INSERTED)
+ if (ca->slot_state == MODULE_INSERTED) {
+ dprintk(verbose, MANTIS_DEBUG, 1, "CA Module present and ready");
return DVB_CA_EN50221_POLL_CAM_PRESENT | DVB_CA_EN50221_POLL_CAM_READY;
+ } else {
+ dprintk(verbose, MANTIS_DEBUG, 1, "CA Module not present or not ready");
+ }
return 0;
}