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>
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index fa97a0c..7143393 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -229,7 +229,7 @@
(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;
}