[alsa-devel] [PATCH 0/3] ASoC: twl4030/tpa6130a2: DB_RANGE mapping fixes
Mark Brown
broonie at opensource.wolfsonmicro.com
Fri Jul 16 12:24:05 CEST 2010
On Fri, Jul 16, 2010 at 01:17:08PM +0300, Peter Ujfalusi wrote:
> There were 'holes' in the DB_RANGE and SCALE_ITEM mapping, which results
> failure, when user space requests dB value in these holes, since alsa-lib
> will fail to find a range, and can not round the requested dB to raw value.
> Fixing the drivers I'm maintaining to correctly fill the tlv struct.
This seems like a bug in alsa-lib to be honest - it doesn't seem right
to specify two values for the indexes at the edge of each range,
especially when one of those values is going to be inaccurate.
More information about the Alsa-devel
mailing list