From 83dc26eced1efcf41ef79862c684a1645f28e870 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Fri, 22 Oct 2010 15:52:34 +0200 Subject: [PATCH] --- yaml --- r: 216733 b: refs/heads/master c: a74ccea51d4314632a81d568d59bf885e5b09d93 h: refs/heads/master i: 216731: 199de332eef42da35755d5d57869557e199c0c46 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_sigmatel.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 07cce8dd6344..978ba7586164 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 00cd0bb7307970b745aefd2b3e1db929792b43bd +refs/heads/master: a74ccea51d4314632a81d568d59bf885e5b09d93 diff --git a/trunk/sound/pci/hda/patch_sigmatel.c b/trunk/sound/pci/hda/patch_sigmatel.c index 7d70f8ca3742..7f487ab4dad4 100644 --- a/trunk/sound/pci/hda/patch_sigmatel.c +++ b/trunk/sound/pci/hda/patch_sigmatel.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "hda_codec.h" #include "hda_local.h" #include "hda_beep.h" @@ -1145,7 +1146,7 @@ static int stac92xx_build_controls(struct hda_codec *codec) /* correct volume offset */ vmaster_tlv[2] += vmaster_tlv[3] * spec->volume_offset; /* minimum value is actually mute */ - vmaster_tlv[3] |= 0x1000; + vmaster_tlv[3] |= TLV_DB_SCALE_MUTE; err = snd_hda_add_vmaster(codec, "Master Playback Volume", vmaster_tlv, slave_vols); if (err < 0)