diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-06-28 11:51:32 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-28 12:13:58 +0200 |
commit | 0c055b3413868227f2e85701c4e6938c9581f0e2 (patch) | |
tree | b227d79491a93fef304bddf29f93dbe4651d1929 /sound/pci/ac97 | |
parent | ALSA: hda - Guess what, it's two more Dell headset mic quirks (diff) | |
download | linux-0c055b3413868227f2e85701c4e6938c9581f0e2.tar.xz linux-0c055b3413868227f2e85701c4e6938c9581f0e2.zip |
ALSA: hda - Fix the max length of control name in generic parser
add_control_with_pfx() in hda_generic.c assumes a shorter name string
for the control element, and this resulted in the truncation of the
long but valid string like "Headphone Surround Switch" in the middle.
This patch aligns the max size to the actual limit of snd_ctl_elem_id,
44.
Cc: <stable@vger.kernel.org> [v3.9+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ac97')
0 files changed, 0 insertions, 0 deletions