ir: cannot wakeup system when keep pressing power key [1/1]
authorQianggui Song <qianggui.song@amlogic.com>
Sun, 29 Sep 2019 10:55:08 +0000 (18:55 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 30 Sep 2019 02:08:53 +0000 (19:08 -0700)
commit99f210a1d7cbccbcfb0e29880d48b55f6857ed11
tree723e979bb805c039ba64d9e4bc219a71250b0cec
parent45d58ee123d431dc872152bd635d6077d9b4b700
ir: cannot wakeup system when keep pressing power key [1/1]

PD#SWPL-14797

Problem:
In freeze mode, keep press power key won't wake up system.

Solution:
replace pm_wakup_event with pm_stay_awake

Verify:
tl1

Change-Id: I5b88714ff45034280ec1d638f86b51fa54e2a011
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
drivers/amlogic/input/remote/remote_core.c