diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-23 15:06:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-23 09:07:33 -0500 |
commit | 81485f5220770c381ac076573642ac44f13723af (patch) | |
tree | 23fd0b7bbce5752ea0cb3924964f84037ce46fbb /drivers/base/regmap/internal.h | |
parent | 7278af5fb3eb7247449fd4489dacb75b9ba86f73 (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 'drivers/base/regmap/internal.h')
0 files changed, 0 insertions, 0 deletions