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

Commit b6d823c8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: tmc: fix mutex release"

parents 97f85929 04592383
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1545,8 +1545,8 @@ static ssize_t mem_size_store(struct device *dev,

	mutex_lock(&drvdata->mem_lock);
	if (kstrtoul(buf, 16, &val)) {
		return -EINVAL;
		mutex_unlock(&drvdata->mem_lock);
		return -EINVAL;
	}

	drvdata->mem_size = val;