All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: cs42l52: HP gain enum and PCM Mixer dB scale fixes.
@ 2013-05-29 18:01 Nicolas Schichan
  2013-05-29 18:01 ` [PATCH 1/2] ASoC: cs42l52: use correct PCM mixer TLV dB scale to match datasheet Nicolas Schichan
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nicolas Schichan @ 2013-05-29 18:01 UTC (permalink / raw)
  To: alsa-devel, Brian Austin, Georgi Vlaev
  Cc: Takashi Iwai, Mark Brown, Liam Girdwood, Nicolas Schichan

Hi,

The two patches in the serie contains the following fixes:

- Use the correct shift value in hp_gain_enum, effectively allowing
  the higher gain values to be effective and the correct gain value to
  be reported to userland wrt what is written to the register.

- Fix the PCM Mixer dB scale so that userland can report the correct
  dB gain values. Note that in its current form, the PCM Mixer control
  will only allow the range [-0.5 dB (0x7f), +12 dB (0x18)] to be
  programmed to the hardware. I don't know if it is intentional or
  not.

Regards,

Nicolas Schichan (2):
  ASoC: cs42l52: use correct PCM mixer TLV dB scale to match datasheet.
  ASoC: cs42l52: fix hp_gain_enum shift value.

 sound/soc/codecs/cs42l52.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2013-05-29 18:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 18:01 [PATCH 0/2] ASoC: cs42l52: HP gain enum and PCM Mixer dB scale fixes Nicolas Schichan
2013-05-29 18:01 ` [PATCH 1/2] ASoC: cs42l52: use correct PCM mixer TLV dB scale to match datasheet Nicolas Schichan
2013-05-29 18:01 ` [PATCH 2/2] ASoC: cs42l52: fix hp_gain_enum shift value Nicolas Schichan
2013-05-29 18:03 ` [PATCH 0/2] ASoC: cs42l52: HP gain enum and PCM Mixer dB scale fixes Mark Brown
2013-05-29 18:13   ` Nicolas Schichan
2013-05-29 18:07 ` Brian Austin
2013-05-29 18:25 ` Mark Brown

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.