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

Commit f4b23892 authored by Vikram Mulukutla's avatar Vikram Mulukutla Committed by Deepak Katragadda
Browse files

soc: qcom: subsys-pil-tz: Reduce serial log spam from the ADSP wdog handler



The watchdog interrupt line from the ADSP, once triggered, is only
de-asserted when the ADSP is shutdown. In the interim, several
interrupts may be received. Don't spam the serial log in the
interrupt handler.

CRs-Fixed: 751552
Change-Id: I39c4a05ab0c15ddf5c95a6b381ea658380eec80d
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent f4674e29
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -843,12 +843,9 @@ static irqreturn_t subsys_wdog_bite_irq_handler(int irq, void *dev_id)
{
	struct pil_tz_data *d = subsys_to_data(dev_id);

	pr_err("Watchdog bite received from %s!\n", d->subsys_desc.name);
	if (subsys_get_crash_status(d->subsys)) {
		pr_err("%s: Ignoring wdog bite IRQ, restart in progress\n",
							d->subsys_desc.name);
	if (subsys_get_crash_status(d->subsys))
		return IRQ_HANDLED;
	}
	pr_err("Watchdog bite received from %s!\n", d->subsys_desc.name);

	if (d->subsys_desc.system_debug &&
			!gpio_get_value(d->subsys_desc.err_fatal_gpio))