mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "coresight: tmc: Fix mem_lock dead lock"
This commit is contained in:
commit
7aa352277d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue