From: 宋秀杰 Date: Tue, 21 Sep 2010 11:56:38 +0000 (-0700) Subject: fix the Response of PWR key in resume X-Git-Tag: firefly_0821_release~11116 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1143c5e145eb78cb3e6262e8f5f55d7b2aa5adee;p=firefly-linux-kernel-4.4.55.git fix the Response of PWR key in resume --- diff --git a/drivers/input/keyboard/rk2818_adckey.c b/drivers/input/keyboard/rk2818_adckey.c index 8c35be83040c..686c892695b0 100755 --- a/drivers/input/keyboard/rk2818_adckey.c +++ b/drivers/input/keyboard/rk2818_adckey.c @@ -136,7 +136,7 @@ static void rk28_adkeyscan_timer(unsigned long data) { if(++gPlayCount > 20000) gPlayCount = 101; - if((2 == gPlayCount) && (0 == gFlagShortPlay)) + if((1 == gPlayCount) && (0 == gFlagShortPlay)) { gFlagShortPlay = 1; }