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

Commit 42f60985 authored by Mao Jinlong's avatar Mao Jinlong
Browse files

tmc-etr: Correct the arguments of CS_LOCK



The arguments of CS_LOCK should be the register base instead of the
drvdata.

Change-Id: I4b013e4f454cfafbdb6ff6c7c41fdad94fe805f9
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
parent aa7030af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1231,7 +1231,7 @@ void __tmc_etr_disable_to_bam(struct tmc_drvdata *drvdata)
	tmc_wait_for_flush(drvdata);
	tmc_disable_hw(drvdata);

	CS_LOCK(drvdata);
	CS_LOCK(drvdata->base);

	/* Disable CSR configuration */
	msm_qdss_csr_disable_bam_to_usb(drvdata->csr);