Messages in this thread | | | Date | Thu, 23 May 2013 09:08:56 -0500 | From | Mark Brown <> | Subject | Re: [PATCH 1/2] regmap: regcache: Fixup locking for custom lock callbacks |
| |
On Thu, May 23, 2013 at 03:06:15PM +0200, Lars-Peter Clausen wrote: > The parameter passed to the regmap lock/unlock callbacks needs to be > map->lock_arg, regcache passes just map. This works fine in the case that no > custom locking callbacks are used, since in this case map->lock_arg equals map, > but will break when custom locking callbacks are used. The issue was introduced > in commit 0d4529c5 ("regmap: make lock/unlock functions customizable") and is > fixed by this patch.
I've applied this but can you please also generate a version that applies against v3.10-rc2 since this should really go in as a bug fix but the patch depends on recent changes in the regcache code. [unhandled content-type:application/pgp-signature] | |