aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 8c933c8006f4..ee134a25092c 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -1843,7 +1843,7 @@ int snd_hda_mixer_amp_tlv(struct snd_kcontrol *kcontrol, int op_flag,
1843 val1 += ofs; 1843 val1 += ofs;
1844 val1 = ((int)val1) * ((int)val2); 1844 val1 = ((int)val1) * ((int)val2);
1845 if (min_mute) 1845 if (min_mute)
1846 val2 |= 0x10000; 1846 val2 |= TLV_DB_SCALE_MUTE;
1847 if (put_user(SNDRV_CTL_TLVT_DB_SCALE, _tlv)) 1847 if (put_user(SNDRV_CTL_TLVT_DB_SCALE, _tlv))
1848 return -EFAULT; 1848 return -EFAULT;
1849 if (put_user(2 * sizeof(unsigned int), _tlv + 1)) 1849 if (put_user(2 * sizeof(unsigned int), _tlv + 1))