diff options
-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; |