29 May
2013
29 May
'13
8:07 p.m.
On Wed, 29 May 2013, Nicolas Schichan wrote:
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
Acked-by: Brian Austin brian.austin@cirrus.com