summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r--sound/pci/hda/hda_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 5ea21285ee1f..cce18ba8b5a1 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -566,7 +566,7 @@ static int parse_adc_sub_nodes(struct hda_codec *codec, struct hda_gspec *spec,
}
label = spec->cap_labels[spec->input_mux.num_items];
strcpy(label, type);
- spec->input_mux.items[spec->input_mux.num_items].label = label;
+ strcpy(spec->input_mux.items[spec->input_mux.num_items].label, label);
/* unmute the PIN external input */
unmute_input(codec, node, 0); /* index = 0? */