25 Oct
2013
25 Oct
'13
8:36 p.m.
On Fri, 25 Oct 2013, Mark Brown wrote:
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.
I'll take a look and see about a fix.
Thanks