From: Juan Alfonso Reyes Ajenjo <juanalfonso.reyes@gmail.com> To: unlisted-recipients:; (no To-header on input) Cc: juanalfonso.reyes@gmail.com, "Gustavo Plaza Roma" <gplazar03@gmail.com>, "Liam Girdwood" <lgirdwood@gmail.com>, "Mark Brown" <broonie@kernel.org>, "Jaroslav Kysela" <perex@perex.cz>, "Takashi Iwai" <tiwai@suse.com>, "Martin Povišer" <povik+lin@cutebit.org>, "Charles Keepax" <ckeepax@opensource.cirrus.com>, "Fabio Estevam" <festevam@denx.de>, "Stephen Kitt" <steve@sk2.org>, alsa-devel@alsa-project.org (moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] Fix tas2562 volume table values Date: Sat, 5 Nov 2022 10:39:16 +0100 [thread overview] Message-ID: <20221105093918.12274-1-juanalfonso.reyes@gmail.com> (raw) This patch fixes -90dB value (0x84a3 instead of 0x695b) This patch adds missing -20dB value (0x06666666) float_vol_db_lookup must have 56 values as volume is from 0 to 55 (0-110dB) Co-developed-by: Gustavo Plaza Roma <gplazar03@gmail.com> Signed-off-by: Gustavo Plaza Roma <gplazar03@gmail.com> Signed-off-by: Juan Alfonso Reyes Ajenjo <juanalfonso.reyes@gmail.com> --- sound/soc/codecs/tas2562.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index b486d0b..acbdf77 100644 --- a/sound/soc/codecs/tas2562.c +++ b/sound/soc/codecs/tas2562.c @@ -33,15 +33,16 @@ static const unsigned int float_vol_db_lookup[] = { 0x00000d43, 0x000010b2, 0x00001505, 0x00001a67, 0x00002151, 0x000029f1, 0x000034cd, 0x00004279, 0x000053af, 0x0000695b, -0x0000695b, 0x0000a6fa, 0x0000d236, 0x000108a4, 0x00014d2a, +0x000084a3, 0x0000a6fa, 0x0000d236, 0x000108a4, 0x00014d2a, 0x0001a36e, 0x00021008, 0x000298c0, 0x000344df, 0x00041d8f, 0x00052e5a, 0x000685c8, 0x00083621, 0x000a566d, 0x000d03a7, 0x0010624d, 0x0014a050, 0x0019f786, 0x0020b0bc, 0x0029279d, 0x0033cf8d, 0x004139d3, 0x00521d50, 0x00676044, 0x0082248a, 0x00a3d70a, 0x00ce4328, 0x0103ab3d, 0x0146e75d, 0x019b8c27, 0x02061b89, 0x028c423f, 0x03352529, 0x0409c2b0, 0x05156d68, -0x080e9f96, 0x0a24b062, 0x0cc509ab, 0x10137987, 0x143d1362, -0x197a967f, 0x2013739e, 0x28619ae9, 0x32d64617, 0x40000000 +0x06666666, 0x080e9f96, 0x0a24b062, 0x0cc509ab, 0x10137987, +0x143d1362, 0x197a967f, 0x2013739e, 0x28619ae9, 0x32d64617, +0x40000000 }; struct tas2562_data { -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Juan Alfonso Reyes Ajenjo <juanalfonso.reyes@gmail.com> Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." <alsa-devel@alsa-project.org>, "Fabio Estevam" <festevam@denx.de>, "Charles Keepax" <ckeepax@opensource.cirrus.com>, juanalfonso.reyes@gmail.com, "open list" <linux-kernel@vger.kernel.org>, "Takashi Iwai" <tiwai@suse.com>, "Liam Girdwood" <lgirdwood@gmail.com>, "Martin Povišer" <povik+lin@cutebit.org>, "Mark Brown" <broonie@kernel.org>, "Gustavo Plaza Roma" <gplazar03@gmail.com>, "Stephen Kitt" <steve@sk2.org> Subject: [PATCH] Fix tas2562 volume table values Date: Sat, 5 Nov 2022 10:39:16 +0100 [thread overview] Message-ID: <20221105093918.12274-1-juanalfonso.reyes@gmail.com> (raw) This patch fixes -90dB value (0x84a3 instead of 0x695b) This patch adds missing -20dB value (0x06666666) float_vol_db_lookup must have 56 values as volume is from 0 to 55 (0-110dB) Co-developed-by: Gustavo Plaza Roma <gplazar03@gmail.com> Signed-off-by: Gustavo Plaza Roma <gplazar03@gmail.com> Signed-off-by: Juan Alfonso Reyes Ajenjo <juanalfonso.reyes@gmail.com> --- sound/soc/codecs/tas2562.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index b486d0b..acbdf77 100644 --- a/sound/soc/codecs/tas2562.c +++ b/sound/soc/codecs/tas2562.c @@ -33,15 +33,16 @@ static const unsigned int float_vol_db_lookup[] = { 0x00000d43, 0x000010b2, 0x00001505, 0x00001a67, 0x00002151, 0x000029f1, 0x000034cd, 0x00004279, 0x000053af, 0x0000695b, -0x0000695b, 0x0000a6fa, 0x0000d236, 0x000108a4, 0x00014d2a, +0x000084a3, 0x0000a6fa, 0x0000d236, 0x000108a4, 0x00014d2a, 0x0001a36e, 0x00021008, 0x000298c0, 0x000344df, 0x00041d8f, 0x00052e5a, 0x000685c8, 0x00083621, 0x000a566d, 0x000d03a7, 0x0010624d, 0x0014a050, 0x0019f786, 0x0020b0bc, 0x0029279d, 0x0033cf8d, 0x004139d3, 0x00521d50, 0x00676044, 0x0082248a, 0x00a3d70a, 0x00ce4328, 0x0103ab3d, 0x0146e75d, 0x019b8c27, 0x02061b89, 0x028c423f, 0x03352529, 0x0409c2b0, 0x05156d68, -0x080e9f96, 0x0a24b062, 0x0cc509ab, 0x10137987, 0x143d1362, -0x197a967f, 0x2013739e, 0x28619ae9, 0x32d64617, 0x40000000 +0x06666666, 0x080e9f96, 0x0a24b062, 0x0cc509ab, 0x10137987, +0x143d1362, 0x197a967f, 0x2013739e, 0x28619ae9, 0x32d64617, +0x40000000 }; struct tas2562_data { -- 2.7.4
next reply other threads:[~2022-11-05 9:39 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-05 9:39 Juan Alfonso Reyes Ajenjo [this message] 2022-11-05 9:39 ` [PATCH] Fix tas2562 volume table values Juan Alfonso Reyes Ajenjo -- strict thread matches above, loose matches on Subject: below -- 2022-11-03 13:03 Juan Alfonso Reyes Ajenjo 2022-11-03 13:24 ` Mark Brown 2022-11-03 13:24 ` Mark Brown 2022-11-03 14:22 ` Juan Alfonso Reyes Ajenjo 2022-11-03 14:28 ` Mark Brown 2022-11-03 14:28 ` Mark Brown
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=20221105093918.12274-1-juanalfonso.reyes@gmail.com \ --to=juanalfonso.reyes@gmail.com \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=ckeepax@opensource.cirrus.com \ --cc=festevam@denx.de \ --cc=gplazar03@gmail.com \ --cc=lgirdwood@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=perex@perex.cz \ --cc=povik+lin@cutebit.org \ --cc=steve@sk2.org \ --cc=tiwai@suse.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.