Re: [PATCH 1/2] regmap: irq: Add support for interrupt type

From: Mark Brown
Date: Thu Feb 14 2013 - 06:06:48 EST


On Thu, Feb 14, 2013 at 04:31:50PM +0530, Laxman Dewangan wrote:

> is this mean we should have variable like
> .supported_iflags which capture what it is supported or not.
> And then irq_type_val[MAX_REGMAP_IRQ_TYPE] as array and define the
> REGMAP_IRQ_TYPE_[FALLING/RISING/BOTH] as index and client can fill
> this info as per the hardware or

I think this option is best; it's going to avoid us having to write
explicit cases for every single use case. But perhaps it's going to be
too painful to work with.

Attachment: signature.asc
Description: Digital signature