From: 张晴 Date: Wed, 9 May 2012 08:55:33 +0000 (+0800) Subject: rk30:phone:report key for suspend and resume X-Git-Tag: firefly_0821_release~9216^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=baddb94fea7e5599ccb43f8b9320e433de8446d7;p=firefly-linux-kernel-4.4.55.git rk30:phone:report key for suspend and resume --- diff --git a/drivers/input/misc/twl6030-pwrbutton.c b/drivers/input/misc/twl6030-pwrbutton.c index 3b5b76191a7c..051a056276df 100644 --- a/drivers/input/misc/twl6030-pwrbutton.c +++ b/drivers/input/misc/twl6030-pwrbutton.c @@ -123,7 +123,7 @@ static int __devinit twl6030_pwrbutton_probe(struct platform_device *pdev) __set_bit(EV_KEY, pwr_button->input_dev->evbit); - pwr_button->report_key = KEY_END; + pwr_button->report_key = KEY_POWER; pwr_button->dev = &pdev->dev; pwr_button->input_dev->evbit[0] = BIT_MASK(EV_KEY); pwr_button->input_dev->keybit[BIT_WORD(pwr_button->report_key)] =