spi_nxp_lpspi: Fix resource leak in transceive
There is a bug here clearly which is that if there is some error in the transceive function, it returns without releasing the context. This should be fixed by properly handling the errors with a context release before returning. Signed-off-by:Declan Snyder <declan.snyder@nxp.com> (cherry picked from commit 4e1c4cd6)
Loading
Please sign in to comment