25 Oct
2013
25 Oct
'13
11:22 p.m.
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.