public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	MyungJoo Ham <myungjoo.ham@samsung.com>,
	patches@opensource.wolfsonmicro.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] extcon: arizona: Implement button detection support
Date: Thu, 26 Jul 2012 09:11:10 +0100	[thread overview]
Message-ID: <20120726081110.GA26373@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <50108AE0.5070502@samsung.com>

On Thu, Jul 26, 2012 at 09:10:08AM +0900, Chanwoo Choi wrote:

> If user press BTN_0 and BTN_1 at the same time and then user only
> released BTN_0 but BTN_1 is still pressed, is it right that report
> released event to all of buttons? I think that different event between
> BTN_0 and BTN_1.

That situation can't occur, the hardware can only detect one button at
once - if two buttons are pressed simultaneusly only one will be
reported.  This is just a standard resistive headset button detection
mechanism.

  reply	other threads:[~2012-07-26  8:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-20 16:07 [PATCH] extcon: arizona: Implement button detection support Mark Brown
2012-07-25  6:09 ` Chanwoo Choi
2012-07-25 11:11   ` Mark Brown
2012-07-26  0:10     ` Chanwoo Choi
2012-07-26  8:11       ` Mark Brown [this message]
2012-07-27  6:45         ` Chanwoo Choi
2012-08-04  6:37   ` anish kumar
2012-08-04 10:00     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120726081110.GA26373@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=cw00.choi@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=patches@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox