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

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

Merge "coresight: stm: Fix missing disable flag when disabling STM"

parents 3c69280b 75d3b58f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -204,6 +204,7 @@ static void stm_disable(struct coresight_device *csdev,
	if (local_read(&drvdata->mode) == CS_MODE_SYSFS) {
		spin_lock(&drvdata->spinlock);
		stm_disable_hw(drvdata);
		drvdata->enable = false;
		spin_unlock(&drvdata->spinlock);

		/* Wait until the engine has completely stopped */