3 Jun
2010
3 Jun
'10
12:09 p.m.
On 3 June 2010 12:21, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
On Thu, Jun 03, 2010 at 08:09:36AM +0100, James Courtier-Dutton wrote:
ALSA is not set up to convert bitfields to dB values.
ASoC (which is what he's actually using here) is - most controls are defined as bitfields in the register map.
I was approaching it from the user space/kernel space divide. The user space does not handle bitfields for controls, it uses integers. The driver must therefore present the controls within the hardware as integers to user space. I thought he was having problems because the translation was not being done in the driver, so user space was handling the value wrongly.