tmc-etr: Remove the duplicated cti map

Remove the duplicated cti map for tmc-etr as only memory mode needs
the cti map.

Change-Id: I5264a41e718924cd2febb8c0e7de03623fbd7c90
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
This commit is contained in:
Mao Jinlong 2020-04-09 16:49:31 +08:00 • committed by Gerrit - the friendly Code Review server
commit d199fb4508

View file

@ -1437,9 +1437,6 @@ static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev)
spin_lock_irqsave(&drvdata->spinlock, flags);
}
coresight_cti_map_trigout(drvdata->cti_flush, 3, 0);
coresight_cti_map_trigin(drvdata->cti_reset, 2, 0);
if (drvdata->reading || drvdata->mode == CS_MODE_PERF) {
ret = -EBUSY;
goto out;