commit | 9322ca549771f2e84a93ac3f509ade1e4c3cdb35 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Feb 03 14:28:01 2012 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Feb 03 14:28:01 2012 +0100 |
tree | 464dd5828486ccedd5342a21a6607392b560af29 | |
parent | 1299d3302000c8277b063d3b84c6d866c93597f9 [diff] |
ALSA: hda - Add suffix argument to snd_hda_add_vmaster() In most cases, the slave strings for vmaster are identical between volumes and switches except for "xxx Volume" and "xxx Switch" suffix. Now snd_hda_add_vmaster() takes the optional suffix argument so that each string can be composed with the given suffix, and we can share the slave name strings in both volume and switch calls nicely. Signed-off-by: Takashi Iwai <tiwai@suse.de>