Skip to content

Commit

Permalink
V4L/DVB (13764): [Mantis CA] SLOT: Add some debug status
Browse files Browse the repository at this point in the history
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 8e0d58e commit 5e2a0c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/media/dvb/mantis/mantis_ca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5e2a0c9

Please sign in to comment.