Skip to content

Conversation

@alxrey
Copy link
Contributor

@alxrey alxrey commented Nov 19, 2025

This removes the rx_bufs NULL check that was introduced as a workaround for DMA misconfiguration issue.

The DMA misconfiguration workaround is no longer necessary since I was unable to reproduce the problem described in the comment.

Additionally, the workaround only covered the case where rx_bufs == NULL, but not cases where rx_bufs->buffers == NULL or rx_bufs->count == 0, which results in the same effective condition. Since the workaround was incomplete and the underlying issue does not appear reproducible anymore, it is clearer and safer to remove it.

Fixes: #98634

The DMA misconfiguration workaround is no longer necessary.

Signed-off-by: Alexandre Rey <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

driver: spi: mcux_dspi: Review rx_bufs NULL check in transceive()

4 participants