From: Lars-Peter Clausen Date: Thu, 23 May 2013 13:06:15 +0000 (+0200) Subject: regmap: regcache: Fixup locking for custom lock callbacks X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~30^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81485f5220770c381ac076573642ac44f13723af;p=pandora-kernel.git regmap: regcache: Fixup locking for custom lock callbacks 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. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed