[alsa-devel] [PATCH 0/2] ASoC: cs42l52: HP gain enum and PCM Mixer dB scale fixes.
Nicolas Schichan
nschichan at freebox.fr
Wed May 29 20:01:18 CEST 2013
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
More information about the Alsa-devel
mailing list