18 Jan
2012
18 Jan
'12
8:40 p.m.
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.