]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - sound/pci/hda/hda_codec.c
ALSA: tlv - Define numbers in sound/tlv.h
[mirror_ubuntu-kernels.git] / sound / pci / hda / hda_codec.c
index 8c933c8006f4a34172837b1a7a12c1e8eeaf14f0..ee134a25092c51f05f22e5ee4c10b622300469ec 100644 (file)
@@ -1843,7 +1843,7 @@ int snd_hda_mixer_amp_tlv(struct snd_kcontrol *kcontrol, int op_flag,
        val1 += ofs;
        val1 = ((int)val1) * ((int)val2);
        if (min_mute)
-               val2 |= 0x10000;
+               val2 |= TLV_DB_SCALE_MUTE;
        if (put_user(SNDRV_CTL_TLVT_DB_SCALE, _tlv))
                return -EFAULT;
        if (put_user(2 * sizeof(unsigned int), _tlv + 1))