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>
This commit is contained in:
Clemens Ladisch 2009-05-05 15:40:12 +02:00 committed by Takashi Iwai
parent bd0185ceac
commit b452e08e73

View file

@ -1687,7 +1687,7 @@ static int snd_via8233_pcmdxs_volume_put(struct snd_kcontrol *kcontrol,
return change; 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 = { static struct snd_kcontrol_new snd_via8233_pcmdxs_volume_control __devinitdata = {
.name = "PCM Playback Volume", .name = "PCM Playback Volume",