summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-23 17:23:49 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-23 11:02:14 -0500
commitf20c783c3ae33c30fd7cf0616db18d30cb6e802b (patch)
tree0a23a7fc9ca9770ceb4a1a29063a88f178b5ecac /kernel
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff)
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 <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions