diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 01cc58a247c1..07d06f7c4390 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -540,7 +540,7 @@ static int stac92xx_add_control(struct sigmatel_spec *spec, int type, const char | |||
540 | 540 | ||
541 | knew = &spec->kctl_alloc[spec->num_kctl_used]; | 541 | knew = &spec->kctl_alloc[spec->num_kctl_used]; |
542 | *knew = stac92xx_control_templates[type]; | 542 | *knew = stac92xx_control_templates[type]; |
543 | knew->name = snd_kmalloc_strdup(name, GFP_KERNEL); | 543 | knew->name = kstrdup(name, GFP_KERNEL); |
544 | if (! knew->name) | 544 | if (! knew->name) |
545 | return -ENOMEM; | 545 | return -ENOMEM; |
546 | knew->private_value = val; | 546 | knew->private_value = val; |