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

Commit d023ec17 authored by Protik Biswas's avatar Protik Biswas Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: bgcom_spi: Logging of BG GPIO values



Need to capture the GPIO values during bgcom
Resume failure and induce force crash.

Change-Id: I14190cda97d8dd21332cc8fb77c0c3651c568f15
Signed-off-by: default avatarProtik Biswas <protbisw@codeaurora.org>
parent 8517bb17
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -857,6 +857,11 @@ int bgcom_resume(void *handle)
	if (retry == MAX_RETRY) {
		/* BG failed to resume. Trigger BG soft reset. */
		pr_err("BG failed to resume\n");
		pr_err("%s: gpio#95 value is: %d\n",
				__func__, gpio_get_value(95));
		pr_err("%s: gpio#97 value is: %d\n",
				__func__, gpio_get_value(97));
		BUG();
		bg_soft_reset();
		return -ETIMEDOUT;
	}