linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ferenc Wagner <wferi@niif.hu>
To: Cory Maccarrone <darkstar6262@gmail.com>
Cc: linux-input@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: [PATCH] Input: gpio-keys: Support for one-directional interrupts
Date: Wed, 09 Dec 2009 12:32:20 +0100	[thread overview]
Message-ID: <87fx7kgz7f.fsf@tac.ki.iif.hu> (raw)
In-Reply-To: <1260052694-17223-1-git-send-email-darkstar6262@gmail.com> (Cory Maccarrone's message of "Sat, 5 Dec 2009 14:38:14 -0800")

Cory Maccarrone <darkstar6262@gmail.com> writes:

> The current gpio-keys driver assumes that each given GPIO has
> the ability to respond to both rising and falling interrupts
> at the same time.  For some GPIOs on certain devices, the interrupt
> is only one-directional -- either rising or falling, depending on
> what's being listened for.  In particular, the HTC Herald keyboard
> slide switch interrupt must be switched from rising to falling and
> back on each event, otherwise only one transition will be detected.

Interesting.  Btw. I'd like to convert gpio-keys from edge-triggered to
level-triggered interrupts.  Would that work for your hardware?
-- 
Regards,
Feri.

  reply	other threads:[~2009-12-09 11:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05 22:38 [PATCH] Input: gpio-keys: Support for one-directional interrupts Cory Maccarrone
2009-12-09 11:32 ` Ferenc Wagner [this message]
2009-12-09 16:15   ` Cory Maccarrone
2009-12-09 17:58     ` Dmitry Torokhov
2009-12-09 22:03       ` Cory Maccarrone
2009-12-11  4:03         ` Cory Maccarrone
2010-01-09 17:56           ` Cory Maccarrone

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=87fx7kgz7f.fsf@tac.ki.iif.hu \
    --to=wferi@niif.hu \
    --cc=darkstar6262@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).