freeze: add IRQF_NO_SUSPEND for ir irq flag for avoid wakeup by any IR key
authorQiufang Dai <qiufang.dai@amlogic.com>
Tue, 24 Sep 2019 13:59:47 +0000 (21:59 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 25 Sep 2019 01:45:06 +0000 (18:45 -0700)
commitbbe1f0fa30dac61351477c79daf6d53a65e08e90
tree124e1ddf52742a0e0b226c35613c09dacd8cd3f6
parentddf6fce977513a563b009627e652451f34bef64c
freeze: add IRQF_NO_SUSPEND for ir irq flag for avoid wakeup by any IR key

PD#TV-10438

Problem:
system can be wake up by any IR key

Solution:
Add IRQF_NO_SUSPEND to avoid IR interrupt being seen as wakeup source IRQ
When IR irq check current key is power key, then send pm_wakeup_event()

Verify:
X32A0-T972

Change-Id: I753fe15f859480954bb569f2da3d3e0dd93c29e3
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
drivers/amlogic/input/remote/remote_meson.c