diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-19 04:14:13 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-19 04:14:13 -0500 |
commit | 4f2d23e1c3fe0abaf87fead3033c6cc3671b4d1c (patch) | |
tree | e99225b3adb7a3c0f085e1186016f96b95571483 /sound | |
parent | 827057f5c12f5e10dc0279596db940aa6ddf8d9b (diff) |
ALSA: hda - Use snd_hda_ctl_add() in patch_sigmatel.c
Fixed the call of snd_ctl_add() by replacing with snd_hda_ctl_add()
so that this mixer element can be tracked for re-configuration.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 71c3ccfcde16..31662c65e8fd 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -1293,7 +1293,7 @@ static int stac92xx_build_controls(struct hda_codec *codec) | |||
1293 | spec->spdif_mute = 1; | 1293 | spec->spdif_mute = 1; |
1294 | } | 1294 | } |
1295 | stac_smux_mixer.count = spec->num_smuxes; | 1295 | stac_smux_mixer.count = spec->num_smuxes; |
1296 | err = snd_ctl_add(codec->bus->card, | 1296 | err = snd_hda_ctl_add(codec, |
1297 | snd_ctl_new1(&stac_smux_mixer, codec)); | 1297 | snd_ctl_new1(&stac_smux_mixer, codec)); |
1298 | if (err < 0) | 1298 | if (err < 0) |
1299 | return err; | 1299 | return err; |