Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294153
b: refs/heads/master
c: 994f5db
h: refs/heads/master
i:
  294151: 7229295
v: v3
  • Loading branch information
Mark Brown committed Mar 5, 2012
1 parent 65113e9 commit 2215106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 19694b5ea1d3a723dafe9544b5ee9a935414dc28
refs/heads/master: 994f5db65ef4b83db0321842bd43c6bc0a51f000
2 changes: 1 addition & 1 deletion trunk/drivers/base/regmap/regcache-rbtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static int regcache_rbtree_sync(struct regmap *map)

/* Is this the hardware default? If so skip. */
ret = regcache_lookup_reg(map, i);
if (ret > 0 && val == map->reg_defaults[ret].def)
if (ret >= 0 && val == map->reg_defaults[ret].def)
continue;

map->cache_bypass = 1;
Expand Down

0 comments on commit 2215106

Please sign in to comment.