summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-10-17 10:40:53 +0200
committerTakashi Iwai <tiwai@suse.de>2010-10-17 10:46:14 +0200
commitc08d91695b2a3349254a62b60f03f7971bd90fa0 (patch)
tree3587f3285600f15f126a7736dbfa7a0801e43894 /sound
parentde8c85f7840e5e29629de95f5af24297fb325e0b (diff)
downloadop-kernel-dev-c08d91695b2a3349254a62b60f03f7971bd90fa0.zip
op-kernel-dev-c08d91695b2a3349254a62b60f03f7971bd90fa0.tar.gz
ALSA: tlv - Define numbers in sound/tlv.h
Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 8c933c8..ee134a2 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,
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))
OpenPOWER on IntegriCloud