diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2011-09-28 11:43:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-28 13:56:39 +0100 |
commit | a40c282362419b8bccb75cea081992f535841085 (patch) | |
tree | e254807a15a9a57328f88193275efac12e5db50f /drivers | |
parent | 3405addd220a0cf2e3a8ffb9051afe766e5f52e8 (diff) |
regmap: Fix regcache_sync generic implementation
We want to use regmap_write() to actually write anything
to the HW.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |