Commit 40afbb65 authored by Alan Ott's avatar Alan Ott Committed by David S. Miller

mrf24j40: Use level-triggered interrupts

The mrf24j40 generates level interrupts. There are rare cases where it
appears that the interrupt line never gets de-asserted between interrupts,
causing interrupts to be lost, and causing a hung device from the driver's
perspective.  Switching the driver to interpret these interrupts as
level-triggered fixes this issue.
Signed-off-by: default avatarAlan Ott <alan@signal11.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4a4e1da8
...@@ -678,7 +678,7 @@ static int mrf24j40_probe(struct spi_device *spi) ...@@ -678,7 +678,7 @@ static int mrf24j40_probe(struct spi_device *spi)
ret = request_threaded_irq(spi->irq, ret = request_threaded_irq(spi->irq,
NULL, NULL,
mrf24j40_isr, mrf24j40_isr,
IRQF_TRIGGER_FALLING|IRQF_ONESHOT, IRQF_TRIGGER_LOW|IRQF_ONESHOT,
dev_name(&spi->dev), dev_name(&spi->dev),
devrec); devrec);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment