/* A CAM has been removed => shut it down. */
static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot)
/* A CAM has been removed => shut it down. */
static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot)
{
	dprintk("%s\n", __func__);
	ca->pub->slot_shutdown(ca->pub, slot);
	ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;
	wake_up_interruptible(&ca->wait_queue);
	dprintk("Slot %i shutdown\n", slot);
	return 0;
}