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

Commit 2537774a authored by Mao Jinlong's avatar Mao Jinlong
Browse files

coresight: tpdm: Config ts_all bit for cmb tpdms



Config ts_all bit for cmb tpdms to generate the timestamp.

Change-Id: I3fda4f7041ebd31bb655111ad906470bd68574e7
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
parent 4000d38b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -592,6 +592,11 @@ static void __tpdm_enable_cmb(struct tpdm_drvdata *drvdata)
		val = val | BIT(1);
	else
		val = val & ~BIT(1);
	if (drvdata->cmb->ts_all)
		val = val | BIT(2);
	else
		val = val & ~BIT(2);

	tpdm_writel(drvdata, val, TPDM_CMB_TIER);

	__tpdm_config_cmb_msr(drvdata);