Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267000
b: refs/heads/master
c: ec8a365
h: refs/heads/master
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Sep 28, 2011
1 parent 30714a1 commit 2b028de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a40c282362419b8bccb75cea081992f535841085
refs/heads/master: ec8a365fe62c78a16268bd1d12dfbebc2b775991
4 changes: 2 additions & 2 deletions trunk/drivers/base/regmap/regcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ int regcache_sync(struct regmap *map)
ret = regcache_read(map, i, &val);
if (ret < 0)
goto out;
regcache_cache_bypass(map, true);
map->cache_bypass = 1;
ret = regmap_write(map, i, val);
regcache_cache_bypass(map, false);
map->cache_bypass = 0;
if (ret < 0)
goto out;
dev_dbg(map->dev, "Synced register %#x, value %#x\n",
Expand Down

0 comments on commit 2b028de

Please sign in to comment.