diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2011-09-29 09:36:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-30 08:57:47 -0400 |
commit | 13753a9088af23c61e2f5c10a8f3ea136d8ebab5 (patch) | |
tree | 44c7a109f98995800f55ffd8b0cf0cefca158caf /drivers/base/regmap/regcache-lzo.c | |
parent | 5fcd2560767cead8f0c741340e132c5417d9f73b (diff) |
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.c | 2 |
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) | |||
339 | if (ret) | 339 | if (ret) |
340 | return ret; | 340 | return ret; |
341 | map->cache_bypass = 1; | 341 | map->cache_bypass = 1; |
342 | ret = regmap_write(map, i, val); | 342 | ret = _regmap_write(map, i, val); |
343 | map->cache_bypass = 0; | 343 | map->cache_bypass = 0; |
344 | if (ret) | 344 | if (ret) |
345 | return ret; | 345 | return ret; |