forked from Minki/linux
Merge remote-tracking branch 'regmap/fix/core' into regmap-linus
This commit is contained in:
commit
a46b6e7283
@ -1549,7 +1549,7 @@ int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
|
|||||||
val + (i * val_bytes),
|
val + (i * val_bytes),
|
||||||
val_bytes);
|
val_bytes);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
return ret;
|
goto out;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ret = _regmap_raw_write(map, reg, wval, val_bytes * val_count);
|
ret = _regmap_raw_write(map, reg, wval, val_bytes * val_count);
|
||||||
|
Loading…
Reference in New Issue
Block a user