Re: [PATCH V2 RESEND 2/2] regmap: irq: do not write mask register ifit is not supported

From: Mark Brown
Date: Tue Mar 12 2013 - 15:36:22 EST


On Thu, Mar 07, 2013 at 10:03:16PM +0530, Laxman Dewangan wrote:
> Ignore the mask register write if mask_base is not provided by
> regmap irq client. Also assume that all interrupts are enabled
> in this case.

> This is useful when device does not have explicit interrupt mask
> register but control the interrupt enabling/disabling by other
> mechanism like irq type/irq edge registers.

I would really expect that the operations that mask things would be
failing if we can't perform them, things are going to get upset if they
get interrupts they thought were masked.

Attachment: signature.asc
Description: Digital signature