提交 a40c2823 编写于 作者: D Dimitris Papastamos 提交者: Mark Brown

regmap: Fix regcache_sync generic implementation

We want to use regmap_write() to actually write anything
to the HW.
Signed-off-by: NDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 3405addd
......@@ -242,7 +242,7 @@ int regcache_sync(struct regmap *map)
if (ret < 0)
goto out;
regcache_cache_bypass(map, true);
ret = regcache_write(map, i, val);
ret = regmap_write(map, i, val);
regcache_cache_bypass(map, false);
if (ret < 0)
goto out;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册