[AVR32] extint: Set initial irq type to low level
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 24 Jan 2008 15:56:53 +0000 (16:56 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 25 Jan 2008 07:31:44 +0000 (08:31 +0100)
commitd6c49a7a78fc841418bbd58bda504076f80ec51d
treedb039655c3a4507047e17dc562defb546dbb9f50
parente4f586f280bbfa05c68f99df2db981356ee30533
[AVR32] extint: Set initial irq type to low level

David Brownell pointed out a mismatch in the avr32 extint code:

> I noticed a small glitch that's not fixed by this patch:  the
> initial type is falling edge, but IRQ_TYPE_NONE is mapped to
> IRQ_TYPE_LEVEL_LOW.  Potentially surprising.

Fix it by setting the initial type (and handler) to low level,
matching the meaning of IRQ_TYPE_NONE.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/extint.c