Skip to content

Commit

Permalink
ALSA: HDA: Cirrus - fix "Surround Speaker" volume control name
Browse files Browse the repository at this point in the history
This patch fixes "Surround Speaker Playback Volume" being cut off.
(Commit b4dabfc was probably meant to fix this, but it fixed
only the "Switch" name, not the "Volume" name.)

Signed-off-by: David Henningsson <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
David Henningsson authored and tiwai committed Sep 14, 2011
1 parent 99e14c9 commit 2e1210b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_cirrus.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ static int add_volume(struct hda_codec *codec, const char *name,
int index, unsigned int pval, int dir,
struct snd_kcontrol **kctlp)
{
char tmp[32];
char tmp[44];
struct snd_kcontrol_new knew =
HDA_CODEC_VOLUME_IDX(tmp, index, 0, 0, HDA_OUTPUT);
knew.private_value = pval;
Expand Down

0 comments on commit 2e1210b

Please sign in to comment.