Commit 2e1210bc3d065a6e26ff5fef228a9a7e08921d2c

Authored by David Henningsson
Committed by Takashi Iwai
1 parent 99e14c9d41

ALSA: HDA: Cirrus - fix "Surround Speaker" volume control name

This patch fixes "Surround Speaker Playback Volume" being cut off.
(Commit b4dabfc452a10 was probably meant to fix this, but it fixed
only the "Switch" name, not the "Volume" name.)

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

sound/pci/hda/patch_cirrus.c
... ... @@ -535,7 +535,7 @@
535 535 int index, unsigned int pval, int dir,
536 536 struct snd_kcontrol **kctlp)
537 537 {
538   - char tmp[32];
  538 + char tmp[44];
539 539 struct snd_kcontrol_new knew =
540 540 HDA_CODEC_VOLUME_IDX(tmp, index, 0, 0, HDA_OUTPUT);
541 541 knew.private_value = pval;