commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=bbc42c659df3034822d541be5a87d6891771577b branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/2011R1
Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Mark Brown <[email protected]> --- drivers/base/regmap/regcache.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 744ed14..4dfab41 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -273,9 +273,9 @@ EXPORT_SYMBOL_GPL(regcache_sync); */ void regcache_cache_only(struct regmap *map, bool enable) { - mutex_lock(&map->sync_lock); + mutex_lock(&map->lock); map->cache_only = enable; - mutex_unlock(&map->sync_lock); + mutex_unlock(&map->lock); } EXPORT_SYMBOL_GPL(regcache_cache_only);
_______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
