diff options
author | Christophe JAILLET | 2021-05-09 21:12:27 +0200 |
---|---|---|
committer | Mark Brown | 2021-05-10 13:00:27 +0100 |
commit | 680ec0549a055eb464dce6ffb4bfb736ef87236e (patch) | |
tree | 4d9f8951bfc9acee07ea7b551a912f3a75a35e7e /usr | |
parent | 6d5ff8e632a4f2389c331e5554cd1c2a9a28c7aa (diff) |
spi: spi-fsl-dspi: Fix a resource leak in an error handling path
'dspi_request_dma()' should be undone by a 'dspi_release_dma()' call in the
error handling path of the probe function, as already done in the remove
function
Fixes: 90ba37033cb9 ("spi: spi-fsl-dspi: Add DMA support for Vybrid")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/d51caaac747277a1099ba8dea07acd85435b857e.1620587472.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions