[alsa-devel] [PATCH 094/112] ALSA: hda - Fix truncated control names
Takashi Iwai
tiwai at suse.de
Tue Jan 8 12:39:27 CET 2013
... 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 at suse.de>
---
sound/pci/hda/hda_generic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 5b30f9f..2b33d50 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])
@@ -2543,7 +2543,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;
--
1.8.0.1
More information about the Alsa-devel
mailing list