Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a40c2823 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown
Browse files

regmap: Fix regcache_sync generic implementation



We want to use regmap_write() to actually write anything
to the HW.

Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 3405addd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;