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>
This commit is contained in:
committed by
Mark Brown
parent
5fcd256076
commit
13753a9088
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user