Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit aa584bad authored by Mark Brown's avatar Mark Brown
Browse files

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

parents d2f2bb84 f00e7109
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1831,7 +1831,7 @@ int regmap_raw_write(struct regmap *map, unsigned int reg,
		return -EINVAL;
		return -EINVAL;
	if (val_len % map->format.val_bytes)
	if (val_len % map->format.val_bytes)
		return -EINVAL;
		return -EINVAL;
	if (map->max_raw_write && map->max_raw_write > val_len)
	if (map->max_raw_write && map->max_raw_write < val_len)
		return -E2BIG;
		return -E2BIG;


	map->lock(map->lock_arg);
	map->lock(map->lock_arg);