Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294176
b: refs/heads/master
c: f9353e7
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Mar 5, 2012
1 parent 1bbbb59 commit acd8ed5
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: a0941e562e8008804f9fe4400315ceb164752fac
refs/heads/master: f9353e70bcebd00cd182d946083afd7d8eddd259
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 @@ -379,7 +379,7 @@ static int regcache_rbtree_sync(struct regmap *map, unsigned int min,
if (rbnode->base_reg + rbnode->blklen < min)
continue;

if (min < rbnode->base_reg + rbnode->blklen)
if (min > rbnode->base_reg)
base = min - rbnode->base_reg;
else
base = 0;
Expand Down

0 comments on commit acd8ed5

Please sign in to comment.