Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294137
b: refs/heads/master
c: a24f64a
h: refs/heads/master
i:
  294135: 3837427
v: v3
  • Loading branch information
Mark Brown committed Jan 26, 2012
1 parent f3e8098 commit bacdeb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e53b195e412a813e915843adc7e4d91868e8e94
refs/heads/master: a24f64a648376766497fddd8bc24b1ca5b906431
3 changes: 3 additions & 0 deletions trunk/drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ int regmap_reinit_cache(struct regmap *map, const struct regmap_config *config)
mutex_lock(&map->lock);

regcache_exit(map);
regmap_debugfs_exit(map);

map->max_register = config->max_register;
map->writeable_reg = config->writeable_reg;
Expand All @@ -286,6 +287,8 @@ int regmap_reinit_cache(struct regmap *map, const struct regmap_config *config)
map->precious_reg = config->precious_reg;
map->cache_type = config->cache_type;

regmap_debugfs_init(map);

ret = regcache_init(map, config);

mutex_unlock(&map->lock);
Expand Down

0 comments on commit bacdeb3

Please sign in to comment.