]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: alc5632: Fixed voice DAC volume step.
authorAndrey Danin <danindrey@mail.ru>
Sat, 11 Feb 2012 21:26:28 +0000 (23:26 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 11 Feb 2012 22:55:54 +0000 (22:55 +0000)
Remove extra zero from volume step in DECLARE_TLV_DB_SCALE macro.

Signed-off-by: Andrey Danin <danindrey@mail.ru>
Signed-off-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/alc5632.c

index 0d574aab1b04489608fe186a0b18475b306a5269..fce5e76ec28c223a687813172fe2bb7d0a928389 100644 (file)
@@ -153,7 +153,7 @@ static const unsigned int boost_tlv[] = {
 /* 0db min scale, 6 db steps, no mute */
 static const DECLARE_TLV_DB_SCALE(dig_tlv, 0, 600, 0);
 /* 0db min scalem 0.75db steps, no mute */
-static const DECLARE_TLV_DB_SCALE(vdac_tlv, -3525, 075, 0);
+static const DECLARE_TLV_DB_SCALE(vdac_tlv, -3525, 75, 0);
 
 static const struct snd_kcontrol_new alc5632_vol_snd_controls[] = {
        /* left starts at bit 8, right at bit 0 */