zephyr/drivers
Daniel Leung d1f57be7be i2s: cavs: cast device struct to void ptr for DMA user data
In the I2S CAVS driver, the DMA user data simply points to
the device struct. However, after the change to const-ify device
struct, this causes warnings from compiler because the user_data
assignment would discard the const qualifier. The user_data is
being used to point back to the device struct, and the DMA
callbacks are already casting the user data argument into
a const device struct. So it's a simple fix by casting
the device pointer to void pointer at device creation.

Fixes #28016

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-09-03 17:33:11 -04:00
..
adc drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth drivers/bluetooth: ipm_stm32wb.c: Increase RX thread stack size 2020-09-03 14:22:33 -04:00
can isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
clock_control drivers: clk_ctrl: npcx: fixed 'line length exceeds 80 columns' warning. 2020-09-03 21:53:35 +02:00
console drivers: console: fix Kconfig DTS inference for mcumgr uart 2020-09-02 14:56:19 -05:00
counter drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
dac device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
debug
display isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
dma drivers: dma: stm32: only set mem pool size when using DMAMUX 2020-09-03 21:50:58 +02:00
eeprom drivers: eeprom: reduce priority of at2x initialization 2020-09-02 15:27:57 -04:00
entropy drivers: STM32: Rework CLK48 HSEM protection 2020-09-02 14:13:49 +02:00
espi isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
ethernet drivers: ethernet: stm32h7 reduce count of tx_buffer_def 2020-09-03 21:48:53 +02:00
flash drivers: flash: stm32wb: rework dualcore flash operation 2020-09-02 14:13:49 +02:00
gpio drivers: gpio: sx1509b: fix interrupt handler argument 2020-09-03 14:05:56 -04:00
hwinfo device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c drivers: i2c: Fix mcux driver transfer status after NACK 2020-09-03 21:50:18 +02:00
i2s i2s: cavs: cast device struct to void ptr for DMA user data 2020-09-03 17:33:11 -04:00
ieee802154 isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
interrupt_controller driver: interrupt_controller: miwu: fix build errors from device const 2020-09-02 19:01:28 +02:00
ipm drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
kscan drivers: kscan: sdl: Corrected device data access 2020-09-03 14:07:15 -04:00
led drivers: led: Fix device instance const qualifier loss in HT16K33 2020-09-02 13:48:13 +02:00
led_strip drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
lora device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
modem device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
neural_net device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pcie isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
peci isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
pinmux drivers: dac: Enable for STM32F0 series 2020-09-03 14:46:03 -05:00
ps2 drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
ptp_clock device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sensor drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
serial drivers: clk_ctrl: npcx: fixed 'line length exceeds 80 columns' warning. 2020-09-03 21:53:35 +02:00
spi drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
timer isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
usb drivers: usb_dc_nrfx: Enable and properly initialize nrfx POWER driver 2020-09-03 21:52:52 +02:00
video isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
watchdog drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
wifi drivers: wifi: Fix device instance const qualifier loss in ESP 2020-09-02 13:48:13 +02:00
CMakeLists.txt cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
Kconfig