Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302080
b: refs/heads/master
c: 7a64761
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Apr 30, 2012
1 parent efcea51 commit a5ce617
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: 2e33caf16f7a1903d226ef7f9f5ec6a234fee18e
refs/heads/master: 7a6476143270d947924f5bbbc124accb0e558bf4
3 changes: 3 additions & 0 deletions trunk/drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ struct regmap *regmap_init(struct device *dev,
break;
}

if (map->format.format_write)
map->use_single_rw = true;

if (!map->format.format_write &&
!(map->format.format_reg && map->format.format_val))
goto err_map;
Expand Down

0 comments on commit a5ce617

Please sign in to comment.