int val; 
int snd_hda_mixer_amp_switch_put(snd_kcontrol_t *kcontrol, snd_ctl_elem_value_t *ucontrol){	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);	hda_nid_t nid = get_amp_nid(kcontrol);	int chs = get_amp_channels(kcontrol);	int dir = get_amp_direction(kcontrol);	int idx = get_amp_index(kcontrol);	int val;	long *valp = ucontrol->value.integer.value;	int change = 0;	if (chs & 1) {		val = snd_hda_codec_amp_read(codec, nid, 0, dir, idx) & 0x7f;		val |= *valp ? 0 : 0x80;		change = snd_hda_codec_amp_write(codec, nid, 0, dir, idx, val);		valp++;	}	if (chs & 2) {		val = snd_hda_codec_amp_read(codec, nid, 1, dir, idx) & 0x7f;		val |= *valp ? 0 : 0x80;		change = snd_hda_codec_amp_write(codec, nid, 1, dir, idx, val);	}	return change;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4a19faee6332fad8f81eaa98cf0e3be15a2366c4/hda_codec.c/clean/sound/pci/hda/hda_codec.c