diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-06-13 16:15:53 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-14 19:22:19 -0400 |
commit | 9ff19e6f44e370d9ac20c2cc677724e44d76f2c6 (patch) | |
tree | d49c957fe32eb0e878d81d24c67626e8308f18e3 /drivers/net | |
parent | ed2e627cb17d385f02d0a28fd7e564031f7769b0 (diff) |
at86rf230: use level high as fallback default
This patch use high level interrupt type as fallback handling when no
irq type is given.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 1bf86d2df23f..25e1edecc24b 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1633,7 +1633,7 @@ static int at86rf230_probe(struct spi_device *spi) | |||
1633 | 1633 | ||
1634 | irq_type = irq_get_trigger_type(spi->irq); | 1634 | irq_type = irq_get_trigger_type(spi->irq); |
1635 | if (!irq_type) | 1635 | if (!irq_type) |
1636 | irq_type = IRQF_TRIGGER_RISING; | 1636 | irq_type = IRQF_TRIGGER_HIGH; |
1637 | 1637 | ||
1638 | rc = devm_request_irq(&spi->dev, spi->irq, at86rf230_isr, | 1638 | rc = devm_request_irq(&spi->dev, spi->irq, at86rf230_isr, |
1639 | IRQF_SHARED | irq_type, dev_name(&spi->dev), lp); | 1639 | IRQF_SHARED | irq_type, dev_name(&spi->dev), lp); |