saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTHI); /* Vcc off */ 
static int ciintf_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open){	struct budget_av *budget_av = (struct budget_av *) ca->data;	struct saa7146_dev *saa = budget_av->budget.dev;	if (slot != 0)		return -EINVAL;	if (!budget_av->slot_status) {		saa7146_setgpio(saa, 3, SAA7146_GPIO_INPUT);		udelay(1);		if (saa7146_read(saa, PSR) & MASK_06)		{			printk(KERN_INFO "budget-av: cam inserted\n");			budget_av->slot_status = 1;		}		saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTLO);	} else if (!open) {		saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTLO);		if (ttpci_budget_debiread(&budget_av->budget, DEBICICAM, 0, 1, 0, 1) == -ETIMEDOUT)		{			printk(KERN_INFO "budget-av: cam ejected\n");			saa7146_setgpio(saa, 2, SAA7146_GPIO_OUTHI); /* disable card */			saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTHI); /* Vcc off */			budget_av->slot_status = 0;		}	}	if (budget_av->slot_status == 1)		return DVB_CA_EN50221_POLL_CAM_PRESENT | DVB_CA_EN50221_POLL_CAM_READY;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b548747d78f8840024ac3439b7149348a282e086/budget-av.c/buggy/drivers/media/dvb/ttpci/budget-av.c