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

Commit 21d72fd8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: tmc: Add missing brace"

parents b9d26ced 938e1a1c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -839,9 +839,10 @@ static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev)
	if (drvdata->mode == CS_MODE_SYSFS)
		goto out;

	if (drvdata->out_mode == TMC_ETR_OUT_MODE_MEM)
	if (drvdata->out_mode == TMC_ETR_OUT_MODE_MEM) {
		drvdata->mode = CS_MODE_SYSFS;
		tmc_etr_enable_hw(drvdata);
	}

	drvdata->enable = true;
	drvdata->sticky_enable = true;