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

Commit e8f1603d authored by Deepak Kumar Singh's avatar Deepak Kumar Singh
Browse files

rpmsg: glink: add print for wakeup from suspend



Add kernel message when glink irq wakes up system from
suspend, so that it is easy to identify wakeup source.

Change-Id: I20b91d4d31446042b4057c811c6ee68a471c6048
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent 0611102d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1246,8 +1246,10 @@ static irqreturn_t qcom_glink_native_intr(int irq, void *data)
	unsigned int cmd;
	int ret = 0;

	if (should_wake)
	if (should_wake) {
		pr_info("%s: %d triggered %s\n", __func__, irq, glink->irqname);
		pm_system_wakeup();
	}
	/* To wakeup any blocking writers */
	wake_up_all(&glink->tx_avail_notify);