summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorSascha Herrmann <sascha@ps.nvbi.de>2013-04-14 22:33:29 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-16 16:34:08 -0400
commit057dad6fcb89aa829bdf1f66b282a75defbf6761 (patch)
tree0db034d9f4706f706e1820997c2951d577502340 /net/core
parent43b5abe0640100a9e9424c91298c7993d443ffb7 (diff)
at86rf230: change irq handling to prevent lockups with edge type irq
Implemented separate irq handling for edge and level type interrupt configuration. For edge type interrupts calls to disable_irq_nosync() and enable_irq() are removed. The at86rf230 resets the irq line only after the irq status register is read. Disabling the irq can lock the driver in situations where a irq is set by the radio while the driver is still reading the frame buffer. With irq_type configuration set to 0 the original behavior is preserverd. Additional the irq filter register is set to filter out all unused interrupts and the irq status register is read in the probe function to clear the irq line. Signed-off-by: Sascha Herrmann <sascha@ps.nvbi.de> Conflicts: drivers/net/ieee802154/at86rf230.c Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions