mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 16:36:41 +07:00
Merge remote-tracking branch 'regmap/fix/core' into regmap-linus
This commit is contained in:
commit
70c1c86d56
@ -1418,10 +1418,11 @@ int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
|
|||||||
*/
|
*/
|
||||||
if (map->use_single_rw) {
|
if (map->use_single_rw) {
|
||||||
for (i = 0; i < val_count; i++) {
|
for (i = 0; i < val_count; i++) {
|
||||||
ret = regmap_raw_write(map,
|
ret = _regmap_raw_write(map,
|
||||||
reg + (i * map->reg_stride),
|
reg + (i * map->reg_stride),
|
||||||
val + (i * val_bytes),
|
val + (i * val_bytes),
|
||||||
val_bytes);
|
val_bytes,
|
||||||
|
false);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user