[alsa-devel] [PATCH] ASoC: Fix reg_cache_size for stac9766

Axel Lin axel.lin at gmail.com
Mon Dec 5 15:12:51 CET 2011

2011/12/5 Mark Brown <broonie at opensource.wolfsonmicro.com>:
> On Mon, Dec 05, 2011 at 10:06:04AM +0800, Axel Lin wrote:
>> reg_cache_size is supposed to be the number of elements in the register cache,
>> not the size in bytes.
> Applied, though note that in this case as the register values are 8 bits
> the two numbers are exactly the same so this is a coding style fix only
> (but still useful!).

Actually, the register values are 16 bits.
static const u16 stac9766_reg[] = {


More information about the Alsa-devel mailing list