projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
827057f
)
ALSA: hda - Use snd_hda_ctl_add() in patch_sigmatel.c
author
Takashi Iwai
<tiwai@suse.de>
Fri, 19 Dec 2008 09:14:13 +0000
(10:14 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 19 Dec 2008 09:14:13 +0000
(10:14 +0100)
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>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index 71c3ccfcde167338047c049b857024bac1dc1a59..31662c65e8fd192d7cf1ff8969d32960a48806b4 100644
(file)
--- 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)
spec->spdif_mute = 1;
}
stac_smux_mixer.count = spec->num_smuxes;
- err = snd_
ctl_add(codec->bus->card
,
+ err = snd_
hda_ctl_add(codec
,
snd_ctl_new1(&stac_smux_mixer, codec));
if (err < 0)
return err;