zephyr/drivers
Michael Kaplan a818d06cf2 drivers: sensors: apds9960 fix trigger callback context
In the current implementation, the apds9960 trigger callback function
is called with the pointer of a driver-internal allocated trigger
structure. This structure is not initialized anywhere, so essentially
the trigger callback gets called with junk data.

Besides the missing initialization, it would be better instead to hold
a const pointer to a user allocated sensor_trigger object.
This way user code can establish a context with related user data (for
example a pointer to a C++ object) by storing its sensor_trigger object
within a structure alongside the user data, and then using
CONTAINER_OF() macro to get the pointer of the container struct (and
thus the user data).

Signed-off-by: Michael Kaplan <m.kaplan@evva.com>
2023-03-15 22:39:45 +00:00
..
adc drivers: adc: stm32 adc driver disable before calibration 2023-03-08 11:06:27 +01:00
audio soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
bbram drivers: bbram: Add Microchip MCP7940N driver 2023-03-01 08:55:39 +01:00
bluetooth drivers: bluetooth: hci_spi: fix condition causing infinite loop 2023-03-08 08:58:33 +01:00
cache cache: kconfig: Reorder and fix entries 2022-12-30 10:53:22 +00:00
can drivers: can: shell: add support for setting SJW 2023-03-15 09:12:04 +01:00
clock_control nxp: imx: Implement iuart clock gating 2023-03-15 09:13:10 +01:00
console console: uart_console: handle runtime PM 2023-03-03 09:17:49 +01:00
coredump
counter drivers: counter: MCP7940N: initialization fix 2023-03-10 14:09:49 +01:00
crypto drivers: crypto: don't return uninitialized local variable 2023-01-03 13:36:46 +01:00
dac drivers: gd32-dac: add support for gd32a50x 2023-01-12 21:45:38 +01:00
dai Drivers: DAI: Intel: DMIC: Shorten unmute ramp time 2023-02-28 11:43:14 +01:00
debug
disk drivers: flashdisk: Change page info verification log message 2023-03-02 17:08:39 +01:00
display drivers: display: introduce driver for NXP DCNANO LCDIF peripheral 2023-03-04 09:19:26 +01:00
dma drivers: dma: stm32 disabling stream waits for disable 2023-03-15 15:01:15 +01:00
edac
eeprom emul: Cleanup emul directory 2023-02-24 11:50:10 +01:00
entropy drivers: entropy: add Renesas SmartBond entropy generator driver 2023-03-03 11:01:36 +01:00
espi drivers: espi: espi_mchp_xec: removed redundant state variables 2023-03-09 09:21:43 +01:00
ethernet drivers: net: initialize logging for the slip module 2023-02-20 16:44:23 +01:00
flash drivers: flash: Introduce API function for flash extended operations 2023-03-14 11:17:13 +01:00
fpga drivers: fpga: ice40: fix busy delay loop 2023-03-14 11:17:35 +01:00
fuel_gauge emul: Cleanup emul directory 2023-02-24 11:50:10 +01:00
gpio drivers: move gpio_keys from gpio to input 2023-03-14 17:15:09 -04:00
hwinfo drivers: hwinfo: Fix Gecko hwinfo driver building 2022-12-20 22:50:19 +01:00
i2c drivers: i2c: gpio: cast io context to void* 2023-03-10 12:20:22 -08:00
i2s soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
i3c i3c: add cdns i3c driver 2022-12-12 15:51:16 -05:00
ieee802154 drivers: ieee802154: cc13xx_cc26xx: Allow both radios to coexist 2023-03-10 10:22:16 -05:00
input drivers: move gpio_keys from gpio to input 2023-03-14 17:15:09 -04:00
interrupt_controller drivers: interrupt-controller: intc_exti_stm32: Add STM32C0 Support 2023-03-14 17:35:37 +00:00
ipm all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
kscan drivers: kscan: Add driver for XPT2046 2023-03-06 17:21:17 +01:00
led
led_strip drivers: led_strip: add WS2812 I2S-based driver 2023-02-24 10:12:47 -08:00
lora drivers: lora: fix busy after sx12xx_lora_test_cw 2023-02-23 09:25:39 +01:00
mbox drivers: mbox: add support for NXP S32 MRU 2023-01-24 14:37:20 +01:00
mdio drivers: mdio: add support for NXP S32 NETC EMDIO 2023-01-24 14:37:20 +01:00
memc drivers: memc: fix flexspi init priorities 2023-03-10 13:10:30 -06:00
mipi_dsi drivers: mipi: introduce MCUX MIPI DSI 2L driver 2023-03-04 09:19:26 +01:00
misc drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
mm drivers: mm: Use mm_drv_bank module 2023-02-20 09:48:44 +01:00
modem modem: hl7800: Fix DNS resolver for all address families 2023-02-20 09:51:38 +01:00
net drivers: net: Move Ethernet device definition for SLIP to ethernet 2023-02-20 10:52:20 +01:00
neural_net
pcie drivers: pcie: late initialization of pcie when PCIe controller is used 2022-12-10 09:47:26 +01:00
peci
pinctrl drivers: pinctrl: Add pinctrl support for TI K3 devices 2023-03-02 13:50:06 +01:00
pm_cpu_ops
power_domain power_domain: gpio: only run actions for children on domain 2023-01-24 09:42:11 +01:00
ps2
ptp_clock
pwm drivers: pwm: pwm_mcux_sctimer: duty cycle fix 2023-03-11 19:44:27 +01:00
regulator drivers: regulator: common: skip voltage change at init if already valid 2023-03-13 18:33:26 +00:00
reset drivers: reset: Add support for reset clear register 2022-12-09 09:43:36 -08:00
sdhc drivers: sdhc: add support for configurable power on delay to SPI SDHC 2023-03-03 09:18:47 +01:00
sensor drivers: sensors: apds9960 fix trigger callback context 2023-03-15 22:39:45 +00:00
serial nxp: imx: Implement iuart clock gating 2023-03-15 09:13:10 +01:00
spi drivers: spi: sam: Fix DMA build 2023-03-15 08:48:52 -04:00
syscon
timer drivers: timer: esp32c3: fix dtick counter increment 2023-03-09 17:22:34 +01:00
usb drivers: usb_dc_rpi_pico: implement remote wakeup support 2023-03-06 21:18:38 +01:00
usb_c usb-c: tcpc: Disable Dead Battery after system starts 2023-03-09 09:20:35 +01:00
video drivers: mt9m114: Fix value type 2023-03-14 15:12:22 +00:00
virtualization drivers: ivshmem: msi.h header only required for ivshmem-doorbell 2022-12-10 09:47:26 +01:00
w1
watchdog drivers: watchdog: implement Smartbond watchdog driver 2023-03-03 11:02:37 +01:00
wifi drivers: wifi: esp32: fix possible interface null pointer 2023-03-06 16:44:45 +01:00
xen
CMakeLists.txt drivers: move gpio_keys from gpio to input 2023-03-14 17:15:09 -04:00
Kconfig drivers: move gpio_keys from gpio to input 2023-03-14 17:15:09 -04:00