diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-05-05 15:40:12 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-05 16:01:32 +0200 |
commit | b452e08e73c0e3dbb0be82130217be4b7084299e (patch) | |
tree | 91b4dc261c5f1604344addc6120e5cf87c18045d /sound/pci/via82xx.c | |
parent | bd0185ceaca7ef17d5c9c094882a5aabe8eff677 (diff) | |
download | linux-3.10-b452e08e73c0e3dbb0be82130217be4b7084299e.tar.gz linux-3.10-b452e08e73c0e3dbb0be82130217be4b7084299e.tar.bz2 linux-3.10-b452e08e73c0e3dbb0be82130217be4b7084299e.zip |
sound: via82xx: fix DXS volume range
With 5 bits and 1.5 dB per step, the DXS volume range is only 48 dB.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/via82xx.c')
-rw-r--r-- | sound/pci/via82xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 809b233dd4a..1ef58c51c21 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c @@ -1687,7 +1687,7 @@ static int snd_via8233_pcmdxs_volume_put(struct snd_kcontrol *kcontrol, return change; } -static const DECLARE_TLV_DB_SCALE(db_scale_dxs, -9450, 150, 1); +static const DECLARE_TLV_DB_SCALE(db_scale_dxs, -4650, 150, 1); static struct snd_kcontrol_new snd_via8233_pcmdxs_volume_control __devinitdata = { .name = "PCM Playback Volume", |