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

Commit 8101575d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: byte-cntr: Change minimal block size to 4096"

parents 66fa0b58 1f70b964
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -589,8 +589,8 @@ static ssize_t block_size_store(struct device *dev,
	if (!drvdata->byte_cntr)
	if (!drvdata->byte_cntr)
		return -EINVAL;
		return -EINVAL;


	if (val && val < 16) {
	if (val && val < 4096) {
		pr_err("Assign minimum block size of 16 bytes\n");
		pr_err("Assign minimum block size of 4096 bytes\n");
		return -EINVAL;
		return -EINVAL;
	}
	}