[alsa-devel] [PATCH] ASoC: add driver for max9768 amplifier

Lars-Peter Clausen lars at metafoo.de
Wed Jan 18 20:40:17 CET 2012


On 01/18/2012 08:26 PM, Wolfram Sang wrote:
>>> +	ret = snd_soc_cache_write(codec, reg, value);
>>> +	if (ret < 0)
>>> +		return ret;
>>> +
>>> +	data = (reg << 6) | value;
>>
>>
>> Adding support for this register type to regmap and use regmap then is the
>> way to go. regmap should also be used for the cache instead of the legacy
>> ASoC cache.
> 
> Okay, are you already at it? Otherwise I'll try adding this tomorrow.

I won't have time for it before the weekend, so go ahead.


More information about the Alsa-devel mailing list