Merge "tmc-etr: Remove the duplicated cti map"

This commit is contained in:
qctecmdr 2020-04-09 04:56:30 -07:00 • committed by Gerrit - the friendly Code Review server
commit ecb0e8b8fd

View file

@ -1438,9 +1438,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;