Skip to content

Commit

Permalink
drivers: i3c: stm32: add api call for default handler
Browse files Browse the repository at this point in the history
add api calls for the default handlers for i3c rtio

Signed-off-by: Ryan McClelland <[email protected]>
  • Loading branch information
XenuIsWatching authored and kartben committed Dec 16, 2024
1 parent 622732e commit f888e78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/i3c/i3c_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2058,6 +2058,9 @@ static void i3c_stm32_dma_rs_cb(const struct device *dma_dev, void *user_data, u
static DEVICE_API(i3c, i3c_stm32_driver_api) = {
.i2c_api.configure = i3c_stm32_i2c_configure,
.i2c_api.transfer = i3c_stm32_i2c_transfer,
#ifdef CONFIG_I2C_RTIO
.i2c_api.iodev_submit = i2c_iodev_submit_fallback,
#endif
.configure = i3c_stm32_configure,
.config_get = i3c_stm32_config_get,
.i3c_device_find = i3c_stm32_device_find,
Expand All @@ -2068,6 +2071,9 @@ static DEVICE_API(i3c, i3c_stm32_driver_api) = {
.ibi_enable = i3c_stm32_ibi_enable,
.ibi_disable = i3c_stm32_ibi_disable,
#endif
#ifdef CONFIG_I3C_RTIO
.iodev_submit = i3c_iodev_submit_fallback,
#endif
};

#ifdef CONFIG_I3C_STM32_DMA
Expand Down

0 comments on commit f888e78

Please sign in to comment.