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

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

Merge "coresight: stm: Wrong condition check in unlink function"

parents 9c08fa8c 5bf4d5b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ static void stm_generic_unlink(struct stm_data *stm_data,
	if (!drvdata || !drvdata->csdev)
		return;
	/* If any OST entity is enabled do not disable the device */
	if (drvdata->entities == NULL)
	if (!bitmap_empty(drvdata->entities, OST_ENTITY_MAX))
		return;
	coresight_disable(drvdata->csdev);
}