Skip to content

Commit

Permalink
drivers: i3c: mcux: 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 i2c and i3c rtio

Signed-off-by: Ryan McClelland <[email protected]>
  • Loading branch information
XenuIsWatching committed Oct 23, 2024
1 parent 09bfbd9 commit fafb88c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/i3c/i3c_mcux.c
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,9 @@ static const struct i3c_driver_api mcux_i3c_driver_api = {
.i2c_api.configure = mcux_i3c_i2c_api_configure,
.i2c_api.transfer = mcux_i3c_i2c_api_transfer,
.i2c_api.recover_bus = mcux_i3c_recover_bus,
#ifdef CONFIG_I2C_RTIO
.i2c_api.iodev_submit = i2c_iodev_submit_fallback,
#endif

.configure = mcux_i3c_configure,
.config_get = mcux_i3c_config_get,
Expand All @@ -2111,6 +2114,10 @@ static const struct i3c_driver_api mcux_i3c_driver_api = {
.ibi_enable = mcux_i3c_ibi_enable,
.ibi_disable = mcux_i3c_ibi_disable,
#endif

#ifdef CONFIG_I3C_RTIO
.iodev_submit = i3c_iodev_submit_fallback,
#endif
};

#define I3C_MCUX_DEVICE(id) \
Expand Down

0 comments on commit fafb88c

Please sign in to comment.