zephyr/drivers
Marcin Niestroj 8cfef933d7 drivers: lora: sx1276: handle NULL callback in irqHandlers
Part of sx1276 driver which is in loramac-node module passes to Zephyr
irqHandlers with callbacks. Some of those callbacks can be NULL and this
is true now (with the current version of loramac-node) for DIO5. If we
define all 0-5 DIOs in dts, then this results in interrupts which are
unwanted. As we do not check that loramac-node callback is NULL, then we
crash trying to call it.

Check every handler during initialization and just skip initialization
of GPIO if it is NULL. This also prevents crashes, because there is no
way GPIO interrupt to be triggered in runtime for this DIO.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-04-15 08:30:11 -05:00
..
adc drivers: adc: lmp90xxx: convert to use k_msleep() instead of k_sleep() 2020-04-15 13:34:18 +02:00
audio drivers: audio: mpxxdtyy: Convert to new DT_INST macros 2020-03-26 11:55:52 -05:00
bluetooth boards: arm: nrf5340_dk_nrf5340: rename target to nrf5340pdk_nrf5340 2020-04-06 15:21:45 +02:00
can kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
clock_control clock_control: nordic: move to new DT API 2020-04-14 06:32:25 -05:00
console timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
counter drivers: counter: nrfx_rtc: Convert driver to new DT_INST macros 2020-04-14 10:36:38 -05:00
crypto drivers: crypto: add driver for nRF ECB 2020-04-08 16:20:53 +02:00
debug
display drivers: display: st7789v: set x-offset and y-offset properties properly 2020-04-15 08:25:19 -05:00
dma drivers: dma: stm32: Stream disable success 2020-04-08 12:21:05 -05:00
eeprom drivers: remove a couple of DT abstraction violations 2020-04-08 09:00:38 -05:00
entropy drivers: entropy: Remove Kconfig HAS_DTS_ENTROPY 2020-04-13 09:14:21 -05:00
espi drivers: espi: xec: Validate channels espi configuration 2020-04-11 15:30:27 -04:00
ethernet drivers: ethernet: sam_gmac: replace dt_int_val in Kconfig 2020-04-07 08:21:04 -05:00
flash drivers: flash: nrf: Conver to new DT macros 2020-04-15 06:22:40 -05:00
gpio drivers: gpio: rv32m1: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
hwinfo drivers: hwinfo: fix endianness for sam0 and nrf 2020-04-09 19:30:32 +02:00
i2c drivers/i2c: stm32: Use DT_NODELABEL_ macros 2020-04-15 08:21:30 -05:00
i2s drivers/i2s: stm32: i2s dma client configured using DT macros 2020-04-13 07:37:11 -05:00
ieee802154 drivers: ieee802154_nrf5: Handle RX timestamp 2020-04-09 16:56:11 +02:00
interrupt_controller drivers: intc: rv32m1_intmux: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
ipm drivers: ipm: ipm_imx: Convert driver to new DT_INST macros 2020-04-04 09:34:00 -05:00
kscan drivers: kscan: add support for the interrupt on the ft5336 2020-04-02 16:48:15 -05:00
led timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
led_strip drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00
lora drivers: lora: sx1276: handle NULL callback in irqHandlers 2020-04-15 08:30:11 -05:00
modem net: buf: Move LEGACY_TIMEOUT_API selection to specific subsystems 2020-04-03 23:17:53 +03:00
net net: Enable PM settings on network devices 2020-03-27 14:48:30 +02:00
neural_net
pcie
peci drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
pinmux drivers: pinmux: rv32m1: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
ps2 drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
ptp_clock
pwm drivers: pwm: rv32m1_tpm: Use DT_INST_FOREACH 2020-04-10 14:38:04 -05:00
sensor drivers: sensor: bme280: convert to new DT API 2020-04-14 10:38:10 -05:00
serial drivers: serial: uart_mcux: Convert to DT_INST 2020-04-14 17:52:31 -05:00
spi drivers: spi: rv32m1_spi: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
timer drivers: timer: nrf_rtc: Convert driver to new DT_INST macros 2020-04-14 10:37:19 -05:00
usb drivers: usb_dc_nrfx: Convert driver to new DT_INST macros 2020-04-14 10:37:34 -05:00
video drivers: video: Add dedicated video init priority 2020-04-07 09:44:14 -05:00
watchdog drivers: wdt_sam0: remove log message during boot 2020-04-06 22:08:44 -04:00
wifi drivers: wifi: esp: Fix wifi-reset-gpios handling 2020-04-06 10:29:58 -05:00
CMakeLists.txt drivers: peci: Add Kconfig for PECI driver 2020-03-13 18:53:04 +02:00
Kconfig drivers: peci: Add Kconfig for PECI driver 2020-03-13 18:53:04 +02:00