NXP drivers: spi: spi_mcux_lpspi: enable CONFIG_SPI_ASYNC mode with DMA #148640
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
2m 15s
Annotations
1 error, 1 warning, and 3 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- EDMA_EnableChannelRequest(DEV_EDMA_HANDLE(dev, channel)->base,
- channel);
+ EDMA_EnableChannelRequest(DEV_EDMA_HANDLE(dev, channel)->base, channel);
File:drivers/dma/dma_mcux_edma.c
Line:544
You may want to run clang-format on this change:
- ret = dma_reload(dev,
- data->dma_rx.channel,
- data->dma_rx.dma_blk_cfg.source_address,
- (uint32_t) data->ctx.rx_buf,
- dma_size);
+ ret = dma_reload(dev, data->dma_rx.channel, data->dma_rx.dma_blk_cfg.source_address,
+ (uint32_t)data->ctx.rx_buf, dma_size);
if (ret != 0) {
LOG_ERR("RX dma_reload() failed with error %x.", ret);
data->status_flags |= SPI_MCUX_LPSPI_DMA_ERROR_FLAG;
}
/* Restart the TX DMA */
- ret = dma_reload(dev,
- data->dma_tx.channel,
- (uint32_t) data->ctx.tx_buf,
- data->dma_tx.dma_blk_cfg.dest_address,
- dma_size);
+ ret = dma_reload(dev, data->dma_tx.channel, (uint32_t)data->ctx.tx_buf,
+ data->dma_tx.dma_blk_cfg.dest_address, dma_size);
File:drivers/spi/spi_mcux_lpspi.c
Line:369
You may want to run clang-format on this change:
- "Transmit buffer is expected to be smaller than the receive buffer");
+ "Transmit buffer is expected to be smaller than the receive buffer");
File:tests/drivers/spi/spi_loopback/src/spi.c
Line:65
|
You may want to run clang-format on this change:
drivers/dma/dma_mcux_edma.c#L544
drivers/dma/dma_mcux_edma.c:544
- EDMA_EnableChannelRequest(DEV_EDMA_HANDLE(dev, channel)->base,
- channel);
+ EDMA_EnableChannelRequest(DEV_EDMA_HANDLE(dev, channel)->base, channel);
|
You may want to run clang-format on this change:
drivers/spi/spi_mcux_lpspi.c#L369
drivers/spi/spi_mcux_lpspi.c:369
- ret = dma_reload(dev,
- data->dma_rx.channel,
- data->dma_rx.dma_blk_cfg.source_address,
- (uint32_t) data->ctx.rx_buf,
- dma_size);
+ ret = dma_reload(dev, data->dma_rx.channel, data->dma_rx.dma_blk_cfg.source_address,
+ (uint32_t)data->ctx.rx_buf, dma_size);
if (ret != 0) {
LOG_ERR("RX dma_reload() failed with error %x.", ret);
data->status_flags |= SPI_MCUX_LPSPI_DMA_ERROR_FLAG;
}
/* Restart the TX DMA */
- ret = dma_reload(dev,
- data->dma_tx.channel,
- (uint32_t) data->ctx.tx_buf,
- data->dma_tx.dma_blk_cfg.dest_address,
- dma_size);
+ ret = dma_reload(dev, data->dma_tx.channel, (uint32_t)data->ctx.tx_buf,
+ data->dma_tx.dma_blk_cfg.dest_address, dma_size);
|
You may want to run clang-format on this change:
tests/drivers/spi/spi_loopback/src/spi.c#L65
tests/drivers/spi/spi_loopback/src/spi.c:65
- "Transmit buffer is expected to be smaller than the receive buffer");
+ "Transmit buffer is expected to be smaller than the receive buffer");
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compliance.xml
|
1022 Bytes |
|