Skip to content

Commit

Permalink
ALSA: hda - Fix the speaker volume control name
Browse files Browse the repository at this point in the history
Increase the name string buffer size so that "Surround Speaker Playback
Volume" won't be truncated.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jul 7, 2009
1 parent ed20825 commit b4dabfc
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 @@ -497,7 +497,7 @@ static const char *dir_sfx[2] = { "Playback", "Capture" };
static int add_mute(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_MUTE_IDX(tmp, index, 0, 0, HDA_OUTPUT);
knew.private_value = pval;
Expand Down

0 comments on commit b4dabfc

Please sign in to comment.