Skip to content

Commit 297e91c

Browse files
drivers: i3c: stm32: add api call for default handler
add api calls for the default handlers for i3c rtio Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
1 parent 7bacb21 commit 297e91c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/i3c/i3c_stm32.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,6 +2058,9 @@ static void i3c_stm32_dma_rs_cb(const struct device *dma_dev, void *user_data, u
20582058
static DEVICE_API(i3c, i3c_stm32_driver_api) = {
20592059
.i2c_api.configure = i3c_stm32_i2c_configure,
20602060
.i2c_api.transfer = i3c_stm32_i2c_transfer,
2061+
#ifdef CONFIG_I2C_RTIO
2062+
.i2c_api.iodev_submit = i2c_iodev_submit_fallback,
2063+
#endif
20612064
.configure = i3c_stm32_configure,
20622065
.config_get = i3c_stm32_config_get,
20632066
.i3c_device_find = i3c_stm32_device_find,
@@ -2068,6 +2071,9 @@ static DEVICE_API(i3c, i3c_stm32_driver_api) = {
20682071
.ibi_enable = i3c_stm32_ibi_enable,
20692072
.ibi_disable = i3c_stm32_ibi_disable,
20702073
#endif
2074+
#ifdef CONFIG_I3C_RTIO
2075+
.iodev_submit = i3c_iodev_submit_fallback,
2076+
#endif
20712077
};
20722078

20732079
#ifdef CONFIG_I3C_STM32_DMA

0 commit comments

Comments
 (0)