From: Peter Ujfalusi <peter.ujfalusi@nokia.com>
To: alsa-devel@alsa-project.org
Cc: broonie@opensource.wolfsonmicro.com, lrg@slimlogic.co.uk
Subject: [PATCH 1/3] ASoC: TWL4030: Fix DB_RANGE tlv mapping for digital loopback
Date: Fri, 16 Jul 2010 13:17:09 +0300 [thread overview]
Message-ID: <1279275431-26922-2-git-send-email-peter.ujfalusi@nokia.com> (raw)
In-Reply-To: <1279275431-26922-1-git-send-email-peter.ujfalusi@nokia.com>
The TLV_DB_SCALE_ITEMs within the DB_RANGE has to cover the
whole range without holes.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@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
next prev parent reply other threads:[~2010-07-16 10:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 10:17 [PATCH 0/3] ASoC: twl4030/tpa6130a2: DB_RANGE mapping fixes Peter Ujfalusi
2010-07-16 10:17 ` Peter Ujfalusi [this message]
2010-07-16 10:17 ` [PATCH 2/3] ASoC: tpa6130a2: Fix DB_RANGE mapping for tpa6130a2 chip Peter Ujfalusi
2010-07-16 10:17 ` [PATCH 3/3] ASoC: tpa6130a2: Fix DB_RANGE mapping for tpa6140a2 chip Peter Ujfalusi
2010-07-16 10:24 ` [PATCH 0/3] ASoC: twl4030/tpa6130a2: DB_RANGE mapping fixes Mark Brown
2010-07-16 11:05 ` Peter Ujfalusi
2010-07-16 12:33 ` [PATCH 0/3] ASoC: twl4030/tpa6130a2:?DB_RANGE " Mark Brown
2010-07-19 5:57 ` Peter Ujfalusi
2010-07-19 8:51 ` Mark Brown
2010-07-19 9:14 ` Peter Ujfalusi
2010-07-19 10:30 ` Mark Brown
2010-07-19 10:32 ` Peter Ujfalusi
2010-07-19 10:43 ` Peter Ujfalusi
2010-07-19 16:25 ` Takashi Iwai
2010-07-20 5:39 ` Peter Ujfalusi
2010-07-20 5:42 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279275431-26922-2-git-send-email-peter.ujfalusi@nokia.com \
--to=peter.ujfalusi@nokia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lrg@slimlogic.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).