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

Commit 3a343d01 authored by Tao,Zhang's avatar Tao,Zhang
Browse files

coresight: tmc-etf: Set reading status to False



Set reading status to False in function tmc_read_unprepare_etb.
Otherwise, it will causes device or resource busy error issue.

Change-Id: I82a3896665e91ad36109e55f8ed29fd7f2667ed0
Signed-off-by: default avatarTao,Zhang <taozha@codeaurora.org>
parent 7b54b39b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -680,6 +680,8 @@ int tmc_read_unprepare_etb(struct tmc_drvdata *drvdata)
		drvdata->buf = NULL;
	}

	drvdata->reading = false;

	spin_unlock_irqrestore(&drvdata->spinlock, flags);

	/*