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
audio
bluetooth drivers/bluetooth: ipm_stm32wb.c: Increase RX thread stack size 2020-09-03 14:22:33 -04:00
can
clock_control drivers: clk_ctrl: npcx: fixed 'line length exceeds 80 columns' warning. 2020-09-03 21:53:35 +02:00
console
counter
crypto
dac
debug
display
dma drivers: dma: stm32: only set mem pool size when using DMAMUX 2020-09-03 21:50:58 +02:00
eeprom
entropy
espi
ethernet drivers: ethernet: stm32h7 reduce count of tx_buffer_def 2020-09-03 21:48:53 +02:00
flash
gpio drivers: gpio: sx1509b: fix interrupt handler argument 2020-09-03 14:05:56 -04:00
hwinfo
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
interrupt_controller
ipm
kscan drivers: kscan: sdl: Corrected device data access 2020-09-03 14:07:15 -04:00
led
led_strip
lora
modem
net
neural_net
pcie
peci
pinmux drivers: dac: Enable for STM32F0 series 2020-09-03 14:46:03 -05:00
ps2
ptp_clock
pwm
sensor
serial drivers: clk_ctrl: npcx: fixed 'line length exceeds 80 columns' warning. 2020-09-03 21:53:35 +02:00
spi
timer
usb drivers: usb_dc_nrfx: Enable and properly initialize nrfx POWER driver 2020-09-03 21:52:52 +02:00
video
watchdog
wifi
CMakeLists.txt
Kconfig