[alsa-devel] [PATCH RESEND v2 2/4] ASoC: cs42l52: increase MAX_REGISTER for regmap_register_patch

Mark Brown broonie at kernel.org
Fri Oct 25 22:22:12 CEST 2013

On Fri, Oct 25, 2013 at 12:49:50PM -0500, Brian Austin wrote:

> 		ret = _regmap_write(map, regs[i].reg, regs[i].def);
> 		if (ret != 0) {

That's it, yes...  it's due to writeable_register() enforcing the
max_register check.  Hrm, having looked again I'm not seeing a quick and
obvious solution to this so I'll go ahead and apply your patch though we
should fix things so that it's not needed.

> But it does not seem to apply later.
> I believe that if I call regcache_cache_bypass it might work.

If it does that's odd, the patch application is done with bypass enabled
so it should have no effect.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131025/a5b86150/attachment.sig>

More information about the Alsa-devel mailing list