File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,6 @@ static void spi_mcux_iodev_start(const struct device *dev)
548
548
struct rtio_sqe * sqe = & rtio_ctx -> txn_curr -> sqe ;
549
549
struct spi_dt_spec * spi_dt_spec = sqe -> iodev -> data ;
550
550
struct spi_config * spi_cfg = & spi_dt_spec -> config ;
551
-
552
551
LPSPI_Type * base = (LPSPI_Type * )DEVICE_MMIO_NAMED_GET (dev , reg_base );
553
552
lpspi_transfer_t transfer ;
554
553
status_t status ;
@@ -586,7 +585,7 @@ static void spi_mcux_iodev_start(const struct device *dev)
586
585
587
586
status = LPSPI_MasterTransferNonBlocking (base , & data -> handle , & transfer );
588
587
if (status != kStatus_Success ) {
589
- LOG_ERR ("Transfer could not start" );
588
+ LOG_ERR ("Transfer could not start on %s: %d" , dev -> name , status );
590
589
spi_mcux_iodev_complete (dev , - EIO );
591
590
}
592
591
}
You can’t perform that action at this time.
0 commit comments