projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0185c
)
sound: via82xx: fix DXS volume range
author
Clemens Ladisch
<clemens@ladisch.de>
Tue, 5 May 2009 13:40:12 +0000
(15:40 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 5 May 2009 14:01:32 +0000
(16:01 +0200)
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>
sound/pci/via82xx.c
patch
|
blob
|
history
diff --git
a/sound/pci/via82xx.c
b/sound/pci/via82xx.c
index
809b233
..
1ef58c5
100644
(file)
--- 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, -
94
50, 150, 1);
+static const DECLARE_TLV_DB_SCALE(db_scale_dxs, -
46
50, 150, 1);
static struct snd_kcontrol_new snd_via8233_pcmdxs_volume_control __devinitdata = {
.name = "PCM Playback Volume",