[PATCH] ASoC: Fix wm8753 register cache size and initialization

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jul 3 12:36:25 CEST 2009

On Fri, Jul 03, 2009 at 11:19:52AM +0100, Mark Brown wrote:
> On Fri, Jul 03, 2009 at 01:04:16AM +0200, Lars-Peter Clausen wrote:
> > The register cache size is of by one. There are 63 registers in use but the
> > register cache size has only space for 62.
> > Furthermore the codec's reg_cache_size is of by another one. Since the wm8753
> > register cache uses one-based indexing we have to add one to its size.

> As discussed in reply to your posting on lkml only 62 of the registers
> are cached so the adjustments in cache size would appear to be
> incorrect.

...though with your clarification that's not actually the case and the
patch should be OK as-is.

More information about the openmoko-kernel mailing list