case PCI_DEVICE_ID_DIGI96: case PCI_DEVICE_ID_DIGI96_8: 
case PCI_DEVICE_ID_RME_DIGI96: case PCI_DEVICE_ID_RME_DIGI96_8: 
snd_rme96_get_inputtype_control(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol){	rme96_t *rme96 = snd_kcontrol_chip(kcontrol);	unsigned int items = 3;		spin_lock_irq(&rme96->lock);	ucontrol->value.enumerated.item[0] = snd_rme96_getinputtype(rme96);		switch (rme96->pci->device) {	case PCI_DEVICE_ID_DIGI96:	case PCI_DEVICE_ID_DIGI96_8:		items = 3;		break;	case PCI_DEVICE_ID_DIGI96_8_PRO:		items = 4;		break;	case PCI_DEVICE_ID_DIGI96_8_PAD_OR_PST:		if (rme96->rev > 4) {			/* for handling PST case, (INPUT_ANALOG is moved to INPUT_XLR */			if (ucontrol->value.enumerated.item[0] == RME96_INPUT_ANALOG) {				ucontrol->value.enumerated.item[0] = RME96_INPUT_XLR;			}			items = 4;		} else {			items = 5;		}		break;	default:		snd_BUG();		break;	}	if (ucontrol->value.enumerated.item[0] >= items) {		ucontrol->value.enumerated.item[0] = items - 1;	}		spin_unlock_irq(&rme96->lock);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8b7fc4214b550fafe595330e28d7c2c72b8b62f6/rme96.c/buggy/sound/pci/rme96.c