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: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4a4e1da83c
commit
40afbb6573
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ static int mrf24j40_probe(struct spi_device *spi)
|
|||
ret = request_threaded_irq(spi->irq,
|
||||
NULL,
|
||||
mrf24j40_isr,
|
||||
IRQF_TRIGGER_FALLING|IRQF_ONESHOT,
|
||||
IRQF_TRIGGER_LOW|IRQF_ONESHOT,
|
||||
dev_name(&spi->dev),
|
||||
devrec);
|
||||
|
||||
|
|
Loading…
Reference in a new issue