aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index fff9de245646..c0a98e724a25 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4323,6 +4323,8 @@ static int add_control(struct alc_spec *spec, int type, const char *name,
4323 knew->name = kstrdup(name, GFP_KERNEL); 4323 knew->name = kstrdup(name, GFP_KERNEL);
4324 if (!knew->name) 4324 if (!knew->name)
4325 return -ENOMEM; 4325 return -ENOMEM;
4326 if (get_amp_nid_(val))
4327 knew->subdevice = (1<<31)|get_amp_nid_(val);
4326 knew->private_value = val; 4328 knew->private_value = val;
4327 return 0; 4329 return 0;
4328} 4330}