commit | 4e1c4cd62311c6a15300cea70f4977b5ecc9670b | [log] [tgz] |
---|---|---|
author | Declan Snyder <declan.snyder@nxp.com> | Mon Mar 10 10:29:03 2025 -0500 |
committer | Benjamin Cabé <kartben@gmail.com> | Fri Mar 14 17:55:15 2025 +0100 |
tree | 43a4c6600236c0c522c4c0975419a3058ac16acc | |
parent | 97e29a9fde333f303a0b7a21f736a0615f2b4008 [diff] |
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>