at86rf230: fix irq setup
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Wed, 18 Jun 2014 14:28:49 +0000 (16:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jun 2014 01:04:03 +0000 (18:04 -0700)
commit363c2cd657afd8138b06f459baa9b6eb892d488f
tree1231ca14ba4bfa93fb1cb322ec454f0dc8ba9cd0
parent8f2877cad52da0719ec01d2dcfbdd3751bb94670
at86rf230: fix irq setup

Commit 8eba0eefae24953962067 ("at86rf230: remove irq_type in
request_irq") removed the trigger configuration when requesting an irq,
and instead relied on the interrupt trigger to be properly configured
already. This does not seem to be an assumption that can be safely made,
since boards disable all interrupt triggers on boot.

On these boards, force the irq to trigger on rising edge, which is also
the default for the chip.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c