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: Deepak Kumar Singh <deesin@codeaurora.org>
This commit is contained in:
Deepak Kumar Singh 2021-03-25 16:24:56 +05:30
commit e8f1603d7b

View file

@ -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);