]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: add warning if edge-triggered irq
authorAlexander Aring <alex.aring@gmail.com>
Fri, 27 Feb 2015 08:58:30 +0000 (09:58 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2015 17:42:44 +0000 (18:42 +0100)
commitb133bccc7df6debb0dc75ed515c496b165eda11b
tree8d7482f4a8b309ae8df77f1bfe41999491927cb0
parentf2adfac4785cd1e258ce2c4baa0b217f6369514f
at86rf230: add warning if edge-triggered irq

While testing I experience a deadlock while using the at86rf233 on a
raspberry pi. The reason was an edge triggered gpio irq because the irq
triggered while irq was disabled. This issue doesn't happend on a level
triggered irq because the irq will hit after calling enable_irq.

This patch adds a warning that it's not recommended to use a edge-triggered
irq type. Also change the examples to high-level irqtype.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt
drivers/net/ieee802154/at86rf230.c