summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-06-06 18:12:16 +0200
committerTakashi Iwai <tiwai@suse.de>2014-06-25 14:51:23 +0200
commit6194b99de9f52b9953b7cf2b48ce0da9276af9c3 (patch)
tree59f288253169717f17c00d0282c9c1b626cb5a05 /sound/pci/hda/patch_sigmatel.c
parentALSA: hda - Kill snd_printd*() in HDMI debug / info prints (diff)
downloadlinux-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.tar.xz
linux-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.zip
ALSA: hda - Kill the rest of snd_print*() usages
Pass the codec object so that we can replace all the rest of snd_print*() usages with the proper device-specific print helpers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 7f40a150899c..5267ef2b1dcc 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1011,7 +1011,7 @@ static int stac_create_spdif_mux_ctls(struct hda_codec *codec)
for (i = 0; i < num_cons; i++) {
if (snd_BUG_ON(!labels[i]))
return -EINVAL;
- snd_hda_add_imux_item(&spec->spdif_mux, labels[i], i, NULL);
+ snd_hda_add_imux_item(codec, &spec->spdif_mux, labels[i], i, NULL);
}
kctl = snd_hda_gen_add_kctl(&spec->gen, NULL, &stac_smux_mixer);