projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed2e627
)
at86rf230: use level high as fallback default
author
Alexander Aring
<alex.aring@gmail.com>
Sat, 13 Jun 2015 20:15:53 +0000
(22:15 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 14 Jun 2015 23:22:19 +0000
(
01:22
+0200)
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>
drivers/net/ieee802154/at86rf230.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 1bf86d2df23fd9b84219a46cb9395b30a78c2a5a..25e1edecc24b9e5084139d2548da2106ed060906 100644
(file)
--- a/
drivers/net/ieee802154/at86rf230.c
+++ b/
drivers/net/ieee802154/at86rf230.c
@@
-1633,7
+1633,7
@@
static int at86rf230_probe(struct spi_device *spi)
irq_type = irq_get_trigger_type(spi->irq);
if (!irq_type)
- irq_type = IRQF_TRIGGER_
RISING
;
+ irq_type = IRQF_TRIGGER_
HIGH
;
rc = devm_request_irq(&spi->dev, spi->irq, at86rf230_isr,
IRQF_SHARED | irq_type, dev_name(&spi->dev), lp);