Commit 59345907 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'regmap/fix/core' into regmap-linus

parents d4a4f75c 15b8d2c4
...@@ -2318,7 +2318,7 @@ int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val, ...@@ -2318,7 +2318,7 @@ int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
&ival); &ival);
if (ret != 0) if (ret != 0)
return ret; return ret;
memcpy(val + (i * val_bytes), &ival, val_bytes); map->format.format_val(val + (i * val_bytes), ival, 0);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment