linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5677: use more of the volume range from DACs
@ 2018-12-20 23:25 Ross Zwisler
  2019-01-04 20:51 ` Ross Zwisler
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Zwisler @ 2018-12-20 23:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dylan Reid, Bard Liao, Jaroslav Kysela, Liam Girdwood,
	Mark Brown, Oder Chiou, Takashi Iwai, alsa-devel, Hsinyu Chao,
	Ross Zwisler

From: Dylan Reid <dgreid@chromium.org>

The DACs volume can go over 0, both according to the data sheet and
real world testing.  The control can go up to +30dB.

This was tested by playing audio at full volume on a samus chromebook.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Signed-off-by: Ross Zwisler <zwisler@google.com>
---
 sound/soc/codecs/rt5677.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index 9b7a1833d3316..513fec86301e8 100644
--- a/sound/soc/codecs/rt5677.c
+++ b/sound/soc/codecs/rt5677.c
@@ -832,13 +832,13 @@ static const struct snd_kcontrol_new rt5677_snd_controls[] = {
 
 	/* DAC Digital Volume */
 	SOC_DOUBLE_TLV("DAC1 Playback Volume", RT5677_DAC1_DIG_VOL,
-		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 87, 0, dac_vol_tlv),
+		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 127, 0, dac_vol_tlv),
 	SOC_DOUBLE_TLV("DAC2 Playback Volume", RT5677_DAC2_DIG_VOL,
-		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 87, 0, dac_vol_tlv),
+		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 127, 0, dac_vol_tlv),
 	SOC_DOUBLE_TLV("DAC3 Playback Volume", RT5677_DAC3_DIG_VOL,
-		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 87, 0, dac_vol_tlv),
+		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 127, 0, dac_vol_tlv),
 	SOC_DOUBLE_TLV("DAC4 Playback Volume", RT5677_DAC4_DIG_VOL,
-		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 87, 0, dac_vol_tlv),
+		RT5677_L_VOL_SFT, RT5677_R_VOL_SFT, 127, 0, dac_vol_tlv),
 
 	/* IN1/IN2 Control */
 	SOC_SINGLE_TLV("IN1 Boost", RT5677_IN1, RT5677_BST_SFT1, 8, 0, bst_tlv),
-- 
2.20.1.415.g653613c723-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: rt5677: use more of the volume range from DACs
  2018-12-20 23:25 [PATCH] ASoC: rt5677: use more of the volume range from DACs Ross Zwisler
@ 2019-01-04 20:51 ` Ross Zwisler
  2019-01-04 21:41   ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Zwisler @ 2019-01-04 20:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dylan Reid, Bard Liao, Jaroslav Kysela, Liam Girdwood,
	Mark Brown, Oder Chiou, Takashi Iwai, alsa-devel, Hsinyu Chao

On Thu, Dec 20, 2018 at 04:25:55PM -0700, Ross Zwisler wrote:
> From: Dylan Reid <dgreid@chromium.org>
> 
> The DACs volume can go over 0, both according to the data sheet and
> real world testing.  The control can go up to +30dB.
> 
> This was tested by playing audio at full volume on a samus chromebook.
> 
> Signed-off-by: Dylan Reid <dgreid@chromium.org>
> Reviewed-by: Hsinyu Chao <hychao@chromium.org>
> Signed-off-by: Ross Zwisler <zwisler@google.com>

Ping on this patch.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: rt5677: use more of the volume range from DACs
  2019-01-04 20:51 ` Ross Zwisler
@ 2019-01-04 21:41   ` Mark Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2019-01-04 21:41 UTC (permalink / raw)
  To: Ross Zwisler
  Cc: linux-kernel, Dylan Reid, Bard Liao, Jaroslav Kysela,
	Liam Girdwood, Oder Chiou, Takashi Iwai, alsa-devel, Hsinyu Chao

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

On Fri, Jan 04, 2019 at 01:51:32PM -0700, Ross Zwisler wrote:

> Ping on this patch.

Please don't send content free pings and please allow a reasonable time
for review.  People get busy, go on holiday, attend conferences and so 
on so unless there is some reason for urgency (like critical bug fixes)
please allow at least a couple of weeks for review.  If there have been
review comments then people may be waiting for those to be addressed.

Sending content free pings adds to the mail volume (if they are seen at
all) which is often the problem and since they can't be reviewed
directly if something has gone wrong you'll have to resend the patches
anyway, so sending again is generally a better approach though there are
some other maintainers who like them - if in doubt look at how patches
for the subsystem are normally handled.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-04 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 23:25 [PATCH] ASoC: rt5677: use more of the volume range from DACs Ross Zwisler
2019-01-04 20:51 ` Ross Zwisler
2019-01-04 21:41   ` Mark Brown

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).