summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regcache-lzo.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2011-09-29 15:36:25 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-30 14:57:47 +0200
commit13753a9088af23c61e2f5c10a8f3ea136d8ebab5 (patch)
tree44c7a109f98995800f55ffd8b0cf0cefca158caf /drivers/base/regmap/regcache-lzo.c
parentregmap: Fix apostrophe usage (diff)
downloadlinux-13753a9088af23c61e2f5c10a8f3ea136d8ebab5.tar.xz
linux-13753a9088af23c61e2f5c10a8f3ea136d8ebab5.zip
regmap: Lock the sync path, ensure we use the lockless _regmap_write()
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regcache-lzo.c')
-rw-r--r--drivers/base/regmap/regcache-lzo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-lzo.c b/drivers/base/regmap/regcache-lzo.c
index 9079cb50b0b9..ad6af925f56c 100644
--- a/drivers/base/regmap/regcache-lzo.c
+++ b/drivers/base/regmap/regcache-lzo.c
@@ -339,7 +339,7 @@ static int regcache_lzo_sync(struct regmap *map)
if (ret)
return ret;
map->cache_bypass = 1;
- ret = regmap_write(map, i, val);
+ ret = _regmap_write(map, i, val);
map->cache_bypass = 0;
if (ret)
return ret;