diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-07 09:43:18 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:43:44 +0100 |
commit | 5abd4888f662cc72c8a3039a6124256691f758d0 (patch) | |
tree | 47e8117cc717a617e73defc3d855668f056d5e72 /sound/pci/hda/hda_generic.c | |
parent | c30aa7b24282c6c544f25f360131fceb646927e4 (diff) | |
download | lwn-5abd4888f662cc72c8a3039a6124256691f758d0.tar.gz lwn-5abd4888f662cc72c8a3039a6124256691f758d0.zip |
ALSA: hda - Fix truncated control names
... like "Speaker Surround Playback Switch".
This fix had been already applied to patch_conexant.c but was
forgotten in other places, then migrated to hda_generic.c.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r-- | sound/pci/hda/hda_generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index a34c581b6082..0588dd6002f4 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -1497,7 +1497,7 @@ static int create_extra_outs(struct hda_codec *codec, int num_pins, { struct hda_gen_spec *spec = codec->spec; struct hda_bind_ctls *ctl; - char name[32]; + char name[44]; int i, n, err; if (!num_pins || !pins[0]) @@ -2545,7 +2545,7 @@ static int parse_mic_boost(struct hda_codec *codec) nid = cfg->inputs[i].pin; if (get_wcaps(codec, nid) & AC_WCAP_IN_AMP) { const char *label; - char boost_label[32]; + char boost_label[44]; struct nid_path *path; unsigned int val; |