 for (i = 0; i < spec->num_mixers; i++) { err = snd_hda_add_new_ctls(codec, spec->mixers[i]); if (err < 0) return err; }  if (spec->surr_switch) { err = snd_hda_add_new_ctls(codec, stac922x_ch_mode_mixer); if (err < 0) return err; } 
static int stac92xx_build_controls(struct hda_codec *codec){	struct sigmatel_spec *spec = codec->spec;	int err;	err = snd_hda_add_new_ctls(codec, spec->mixer);	if (err < 0)		return err;	if (spec->multiout.dig_out_nid) {		err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid);		if (err < 0)			return err;	}	if (spec->dig_in_nid) {		err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);		if (err < 0)			return err;	}	return 0;	}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/c7d4b2fa3169a1206450bc445d1997a17479644f/patch_sigmatel.c/clean/sound/pci/hda/patch_sigmatel.c