mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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:
parent
0611102d4e
commit
e8f1603d7b
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue