From a40c282362419b8bccb75cea081992f535841085 Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Wed, 28 Sep 2011 11:43:41 +0100 Subject: 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(-) (limited to 'drivers') diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 6b9efd938dc..5364dde2ecd 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; -- cgit v1.2.3-70-g09d2