diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-03-12 12:25:03 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-03-12 14:52:28 +0100 |
commit | 29e5853d618282d8277ce8a8304f7424eb60deb5 (patch) | |
tree | e6f2990534e3656f9bbdc1a13cb3fc3cf41934c9 /sound/pci/hda/patch_analog.c | |
parent | ALSA: Add a hook capability to vmaster controls (diff) | |
download | linux-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.c | 2 |
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; } |