OpenCloudOS-Kernel/drivers/net/ieee802154
Alexander Aring afaf7fdedb mrf24j40: change irq trigger type behaviour
This patch changes the irq trigger type value while calling
devm_request_irq by using IRQF_TRIGGER_LOW when no irq type was given.
Additional we add support for change the irq polarity while hw init if
high level or low level triggered irq type are given.

For rising edge triggered irq's the mrf24j40 can't deal with that, this
races at position of tx completion irq, while the irq is disabled we
readout the irq status registers. This will resets the irq line so other
irq's can occur. Wile readout the irq status register the irq is still
disabled and edge triggered interrupts will be ignored.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-09-22 11:51:23 +02:00
..
Kconfig mrf24j40: add regmap support 2015-09-22 11:51:22 +02:00
Makefile ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
at86rf230.c at86rf230: support edge triggered irq 2015-09-22 11:51:20 +02:00
at86rf230.h at86rf230: add debugfs support 2015-09-17 13:20:05 +02:00
atusb.c atusb: add handling for different chipnames 2015-09-17 13:20:06 +02:00
atusb.h ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
cc2520.c cc2520: set the default fifo pin value from platform data 2015-08-11 06:13:39 +02:00
fakelb.c fakelb: add xmit_async after stop testcase 2015-06-15 01:25:06 +02:00
mrf24j40.c mrf24j40: change irq trigger type behaviour 2015-09-22 11:51:23 +02:00