adc_key: delete early_suspend code [1/1]
authorYingyuan Zhu <yingyuan.zhu@amlogic.com>
Fri, 26 Oct 2018 12:14:06 +0000 (20:14 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 6 Nov 2018 11:19:03 +0000 (04:19 -0700)
commit02659fa2884469713dfc30907e0eab9c3d4a0ea7
treea14e19e979b6d7a36c2a762198fd181445eba5de
parent9d19ae4ae8ca343be5109ba6805d311552712ecc
adc_key: delete early_suspend code [1/1]

PD#OTT-144

Problem:
after the dark screen, the adc button does not work

Solution:
The adc_keypad introduces earlysuspend for MID project:
after the LCD backlight disable, prevent the user from
pressing the key to open some applications and not complete standby.
Now check the adc button using the "system_freezable_wq" system queue,
which replaces the function of the code.So can remove it.

Verify:
g12b socket

Change-Id: I2333ba3dc406d2624962d116293a0b9d36f97534
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
drivers/amlogic/input/keyboard/adc_keypad.c