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

Commit 0f526cf3 authored by Mathieu Poirier's avatar Mathieu Poirier Committed by Shashank Mittal
Browse files

coresight: etm3x: making error message unambiguous



By adding the function name at the beginning of the error
message there is no doubt as to where the failing condition
occurred.

Change-Id: I516a873275bb071e89bbdf27d394208db4eb6461
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: af6162155e943dfc7dc2c45507e39cc4d60d5812
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarShashank Mittal <mittals@codeaurora.org>
parent cab3adcd
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -191,7 +191,8 @@ static void etm_set_prog(struct etm_drvdata *drvdata)
	isb();
	if (coresight_timeout_etm(drvdata, ETMSR, ETMSR_PROG_BIT, 1)) {
		dev_err(drvdata->dev,
			"timeout observed when probing at offset %#x\n", ETMSR);
			"%s: timeout observed when probing at offset %#x\n",
			__func__, ETMSR);
	}
}

@@ -209,7 +210,8 @@ static void etm_clr_prog(struct etm_drvdata *drvdata)
	isb();
	if (coresight_timeout_etm(drvdata, ETMSR, ETMSR_PROG_BIT, 0)) {
		dev_err(drvdata->dev,
			"timeout observed when probing at offset %#x\n", ETMSR);
			"%s: timeout observed when probing at offset %#x\n",
			__func__, ETMSR);
	}
}