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

Commit 7aa35227 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: tmc: Fix mem_lock dead lock"

parents fae584c7 59430433
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1650,6 +1650,7 @@ static int tmc_disable_etr_sink(struct coresight_device *csdev)

	if (atomic_dec_return(csdev->refcnt)) {
		spin_unlock_irqrestore(&drvdata->spinlock, flags);
		mutex_unlock(&drvdata->mem_lock);
		return -EBUSY;
	}