Deepak Kumar Singh 813474a82b
rpmsg: glink: reset should_wakeup before calling system wakeup
There may be multiple packets coming in suspend state.
This may cause glink to call pm_system_wakeup for each packet.

To avoid such scenario make should_wakeup false after first packet
received in suspend state.

Change-Id: Ifa2bd13229ec756c11d02c1891f105596697e87b
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-05-09 11:27:49 +07:00
..