aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-28 16:01:32 -0400
committerMark Brown <broonie@linaro.org>2013-10-28 16:01:32 -0400
commit70c1c86d56522fd1dffb9c17df4cbec3c2e1ac60 (patch)
tree7298916087f65e21a5cfab286238141f91f46cea /drivers/base/regmap
parent959f58544b7f20c92d5eb43d1232c96c15c01bfb (diff)
parent4174a7a4f763ed51809a4dbca06de054d31c1d38 (diff)
Merge remote-tracking branch 'regmap/fix/core' into regmap-linus
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r--drivers/base/regmap/regmap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 7d689a15c500..c1245cae0f43 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -1418,10 +1418,11 @@ int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1418 */ 1418 */
1419 if (map->use_single_rw) { 1419 if (map->use_single_rw) {
1420 for (i = 0; i < val_count; i++) { 1420 for (i = 0; i < val_count; i++) {
1421 ret = regmap_raw_write(map, 1421 ret = _regmap_raw_write(map,
1422 reg + (i * map->reg_stride), 1422 reg + (i * map->reg_stride),
1423 val + (i * val_bytes), 1423 val + (i * val_bytes),
1424 val_bytes); 1424 val_bytes,
1425 false);
1425 if (ret != 0) 1426 if (ret != 0)
1426 return ret; 1427 return ret;
1427 } 1428 }