Merge "coresight: tmc: Fix mem_lock dead lock"

This commit is contained in:
qctecmdr 2019-12-20 05:45:47 -08:00 • committed by Gerrit - the friendly Code Review server
commit 7aa352277d

View file

@ -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;
}