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

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

Merge "coresight: Don't enable the source more than once from sysfs"

parents b6bf7795 57c07ee1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -776,6 +776,10 @@ static ssize_t enable_source_store(struct device *dev,
		return ret;

	if (val) {

		if (csdev->enable)
			return size;

		ret = coresight_enable(csdev);
		if (ret)
			return ret;