Re: [PATCH] Input: gpio-keys: Support for one-directional interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cory Maccarrone <darkstar6262@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux