Re: [PATCH for 3.10-rc2] regmap: regcache: Fixup locking for custom lock callbacks

2013-05-23 Thread Mark Brown
On Thu, May 23, 2013 at 05:23:49PM +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,

[PATCH for 3.10-rc2] regmap: regcache: Fixup locking for custom lock callbacks

2013-05-23 Thread Lars-Peter Clausen
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 intro