Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932439AbbLNKfc (ORCPT ); Mon, 14 Dec 2015 05:35:32 -0500 Received: from mail1.bemta5.messagelabs.com ([195.245.231.143]:49047 "EHLO mail1.bemta5.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932373AbbLNKf3 convert rfc822-to-8bit (ORCPT ); Mon, 14 Dec 2015 05:35:29 -0500 X-Greylist: delayed 406 seconds by postgrey-1.27 at vger.kernel.org; Mon, 14 Dec 2015 05:35:29 EST X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-13.tower-179.messagelabs.com!1450088905!9819889!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked From: "Opensource [Steve Twiss]" To: Dmitry Torokhov CC: LINUX-INPUT , LINUXKERNEL Subject: RE: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press Thread-Topic: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press Thread-Index: AQHRMy5BnXMK5ANw9kKexfzwm8syEp7KTKQQ Date: Mon, 14 Dec 2015 10:28:24 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB70173D28771@SW-EX-MBX02.diasemi.com> References: <20151210093632.5DF333FBD7@swsrvapps-01.diasemi.com> In-Reply-To: <20151210093632.5DF333FBD7@swsrvapps-01.diasemi.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.26.77] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1346 Lines: 33 Regarding: > To: Dmitry Torokhov; LINUX-INPUT; LINUXKERNEL > Subject: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press Hi Dmitry, Thanks for your Signed-off-by and merge. Regards, Steve repo linux-next tag next-20151214 commit f889beaaab1ce2ff9d018302359abb345f49be29 Author: Steve Twiss Date: Sat Dec 12 20:43:35 2015 -0800 Input: da9063 - report KEY_POWER instead of KEY_SLEEP during power key-press Stop reporting KEY_SLEEP for a short key-press and report KEY_POWER instead This change applies to both DA9063 and DA9062 ONKEY drivers. A previous application used for testing by the developer required a KEY_SLEEP and KEY_POWER input_report_key event to distinguish between a short and long key-press of the power key. This is not the general convention and the typical solution is for KEY_POWER to be used in both cases: suspend and S/W power off. Signed-off-by: Steve Twiss Signed-off-by: Dmitry Torokhov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/