Skip to content

Commit 8bf6dac

Browse files
XenuIsWatchingkartben
authored andcommitted
drivers: i3c: dw: add rtio callbacks
Add the missing api callbacks for i3c and i2c rtio. Signed-off-by: Ryan McClelland <[email protected]>
1 parent 28676ae commit 8bf6dac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/i3c/i3c_dw.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,6 +2352,9 @@ static int dw_i3c_pm_ctrl(const struct device *dev, enum pm_device_action action
23522352

23532353
static DEVICE_API(i3c, dw_i3c_api) = {
23542354
.i2c_api.transfer = dw_i3c_i2c_api_transfer,
2355+
#ifdef CONFIG_I2C_RTIO
2356+
.i2c_api.iodev_submit = i2c_iodev_submit_fallback,
2357+
#endif
23552358

23562359
.configure = dw_i3c_configure,
23572360
.config_get = dw_i3c_config_get,
@@ -2377,6 +2380,10 @@ static DEVICE_API(i3c, dw_i3c_api) = {
23772380
.ibi_disable = dw_i3c_controller_disable_ibi,
23782381
.ibi_raise = dw_i3c_target_ibi_raise,
23792382
#endif /* CONFIG_I3C_USE_IBI */
2383+
2384+
#ifdef CONFIG_I3C_RTIO
2385+
.iodev_submit = i3c_iodev_submit_fallback,
2386+
#endif
23802387
};
23812388

23822389
#define I3C_DW_IRQ_HANDLER(n) \

0 commit comments

Comments
 (0)