Generic IRQs: proper edge/level via irq_chip-set_type hook

2007-12-04 Thread Kevin Hilman
I'm trying to cleanup/remove the use of handle_simple_irq in the OMAP GPIO IRQ handling. Currently, the OMAP GPIO demux handler uses handle_simple_irq for all the GPIOs whether they are edge or level. The result is duplicated logic with handle_[edge|level]_irq as well as things not working

Re: Generic IRQs: proper edge/level via irq_chip-set_type hook

2007-12-04 Thread David Brownell
On Tuesday 04 December 2007, Kevin Hilman wrote: The hack below allows me to get the above idea working, but I'm looking for better suggestions on how to rework the locking here so that the handler might be changed from within the irq_chip's set_type handler. Any ideas? As I'm sure you