[alsa-devel] [PATCH 1/3] ASoC: TWL4030: Fix DB_RANGE tlv mapping for digital loopback
Peter Ujfalusi
peter.ujfalusi at nokia.com
Fri Jul 16 12:17:09 CEST 2010
The TLV_DB_SCALE_ITEMs within the DB_RANGE has to cover the
whole range without holes.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
---
sound/soc/codecs/twl4030.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index 6fd6d0b..7686457 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -544,8 +544,8 @@ static const struct snd_kcontrol_new twl4030_dapm_abypassv_control =
static const unsigned int twl4030_dapm_dbypass_tlv[] = {
TLV_DB_RANGE_HEAD(3),
0, 1, TLV_DB_SCALE_ITEM(-3000, 600, 1),
- 2, 3, TLV_DB_SCALE_ITEM(-2400, 0, 0),
- 4, 7, TLV_DB_SCALE_ITEM(-1800, 600, 0),
+ 1, 3, TLV_DB_SCALE_ITEM(-2400, 0, 0),
+ 3, 7, TLV_DB_SCALE_ITEM(-2400, 600, 0),
};
/* Digital bypass left (TX1L -> RX2L) */
--
1.7.1.1
More information about the Alsa-devel
mailing list