Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1291082 > unrolled thread

RE: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press

Started by"Opensource [Steve Twiss]" <stwiss.opensource@diasemi.com>
First post2015-12-14 11:40 +0100
Last post2015-12-14 11:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP  during power key-press "Opensource [Steve Twiss]" <stwiss.opensource@diasemi.com> - 2015-12-14 11:40 +0100

#1291082 — RE: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press

From"Opensource [Steve Twiss]" <stwiss.opensource@diasemi.com>
Date2015-12-14 11:40 +0100
SubjectRE: [PATCH V2] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press
Message-ID<qFyHV-4U5-49@gated-at.bofh.it>
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 <stwiss.opensource@diasemi.com>
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 <stwiss.opensource@diasemi.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web