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

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

Merge "coresight-tmc-etr: remove mem_lock when call usb_qdss_close"

parents a1fa5445 d33f1524
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2021,7 +2021,9 @@ static int _tmc_disable_etr_sink(struct coresight_device *csdev,
				spin_unlock_irqrestore(&drvdata->spinlock,
					flags);
				tmc_etr_bam_disable(drvdata);
				mutex_unlock(&drvdata->mem_lock);
				usb_qdss_close(drvdata->usbch);
				mutex_lock(&drvdata->mem_lock);
				drvdata->usbch = NULL;
				goto out;
			} else {