msm: smd_pkt: Add packet arrival wakelock
While handling the incoming packets from remote subsystems, delay the
system suspension by holding a wakelock with a timeout value of 2 seconds.
This will allow the user-space clients to process the incoming packets
before the system goes to suspend.
CRs-Fixed: 335782
Change-Id: Idea2fd490a52a8bfd7b97cad7e784a6782a0cf8f
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
1 file changed