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

Commit f24738ce 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 19964644 1c99616b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -300,7 +300,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);
}