switch (kcontrol->private_value) {
switch (reg) {
static int snd_ymfpci_get_single(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol){	ymfpci_t *chip = snd_kcontrol_chip(kcontrol);	int reg = kcontrol->private_value;	unsigned int shift = 0, mask = 1;		switch (kcontrol->private_value) {	case YDSXGR_SPDIFOUTCTRL: break;	case YDSXGR_SPDIFINCTRL: break;	default: return -EINVAL;	}	ucontrol->value.integer.value[0] = (snd_ymfpci_readl(chip, reg) >> shift) & mask;	return 0;}