Re: [PATCH 0/3] ASoC: twl4030/tpa6130a2: DB_RANGE mapping fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux