d1f57be7be
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.cavs | ||
Kconfig.litex | ||
Kconfig.sam_ssc | ||
Kconfig.stm32 | ||
i2s_cavs.c | ||
i2s_cavs.h | ||
i2s_common.c | ||
i2s_handlers.c | ||
i2s_litex.c | ||
i2s_litex.h | ||
i2s_ll_stm32.c | ||
i2s_ll_stm32.h | ||
i2s_sam_ssc.c |