Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267002
b: refs/heads/master
c: 2cd148f
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Sep 29, 2011
1 parent 94422b1 commit 7e1c0d3
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: 38f6916976f9e964748f097be3688e334fb60f3d
refs/heads/master: 2cd148f1599a425f0f3ac6753da96a1a1aa3ce76
4 changes: 2 additions & 2 deletions trunk/drivers/base/regmap/regcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ EXPORT_SYMBOL_GPL(regcache_sync);
*/
void regcache_cache_only(struct regmap *map, bool enable)
{
mutex_lock(&map->sync_lock);
mutex_lock(&map->lock);
map->cache_only = enable;
mutex_unlock(&map->sync_lock);
mutex_unlock(&map->lock);
}
EXPORT_SYMBOL_GPL(regcache_cache_only);

Expand Down

0 comments on commit 7e1c0d3

Please sign in to comment.