Skip to content
Snippets Groups Projects
Commit d133041b authored by Clark Wang's avatar Clark Wang Committed by OpenEmbedded
Browse files

LF-5804 spi: lpspi: add DMA roll-back path


If spi_register_controller return a defer probe error, no DMA roll-back
operation can remove the DMA configurations. When probe SPI in the
second time, fsl_lpspi_dma_init will return error.
So add a DMA roll-back path here.

Signed-off-by: default avatarClark Wang <xiaoning.wang@nxp.com>
Reviewed-by: default avatarHaibo Chen <haibo.chen@nxp.com>
parent 1af0c4cd
1 merge request!288[i.MX8QM] lpspi fixes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment