From: Clemens Ladisch Date: Tue, 5 May 2009 13:40:12 +0000 (+0200) Subject: sound: via82xx: fix DXS volume range X-Git-Tag: v2.6.30-rc7~4^2^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b452e08e73c0e3dbb0be82130217be4b7084299e;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 809b233..1ef58c5 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",