Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266990
b: refs/heads/master
c: e7a6db3
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Sep 19, 2011
1 parent 9041979 commit 353c122
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5d1729e7f02f050c73b68ce0198f8e5c48e9608a
refs/heads/master: e7a6db30df42234bc0f7b9a0af402838e0f146b1
4 changes: 3 additions & 1 deletion trunk/drivers/base/regmap/regcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ int regcache_init(struct regmap *map)
int i;
void *tmp_buf;

if (map->cache_type == REGCACHE_NONE)
if (map->cache_type == REGCACHE_NONE) {
map->cache_bypass = true;
return 0;
}

for (i = 0; i < ARRAY_SIZE(cache_types); i++)
if (cache_types[i]->type == map->cache_type)
Expand Down

0 comments on commit 353c122

Please sign in to comment.