Merge "coresight-tmc-etr : Call _tmc_disable_etr_sink when switch mode"

This commit is contained in:
qctecmdr 2020-03-14 15:40:35 -07:00 • committed by Gerrit - the friendly Code Review server
commit 261a1aac81

View file

@ -2017,7 +2017,7 @@ int tmc_etr_switch_mode(struct tmc_drvdata *drvdata, const char *out_mode)
}
coresight_disable_all_source_link();
tmc_disable_etr_sink(drvdata->csdev);
_tmc_disable_etr_sink(drvdata->csdev);
old_mode = drvdata->out_mode;
drvdata->out_mode = new_mode;
if (tmc_enable_etr_sink_sysfs(drvdata->csdev)) {