From a40c282362419b8bccb75cea081992f535841085 Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Wed, 28 Sep 2011 11:43:41 +0100 Subject: [PATCH] regmap: Fix regcache_sync generic implementation We want to use regmap_write() to actually write anything to the HW. Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- drivers/base/regmap/regcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 6b9efd938dca..5364dde2ecd0 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -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; -- 2.39.5