Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e2a0c99 authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13764): [Mantis CA] SLOT: Add some debug status

parent 8e0d58ec
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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;
}