summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-03-12 12:25:03 +0100
committerTakashi Iwai <tiwai@suse.de>2012-03-12 14:52:28 +0100
commit29e5853d618282d8277ce8a8304f7424eb60deb5 (patch)
treee6f2990534e3656f9bbdc1a13cb3fc3cf41934c9 /sound/pci/hda/patch_analog.c
parentALSA: Add a hook capability to vmaster controls (diff)
downloadlinux-29e5853d618282d8277ce8a8304f7424eb60deb5.tar.xz
linux-29e5853d618282d8277ce8a8304f7424eb60deb5.zip
ALSA: hda - Return the created kcontrol in __snd_hda_add_vmaster()
It'll be used for adding hooks in later patches. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r--sound/pci/hda/patch_analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index fa97a0c5ced0..7143393927da 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -229,7 +229,7 @@ static int ad198x_build_controls(struct hda_codec *codec)
(spec->slave_vols ?
spec->slave_vols : ad_slave_pfxs),
"Playback Volume",
- !spec->avoid_init_slave_vol);
+ !spec->avoid_init_slave_vol, NULL);
if (err < 0)
return err;
}