diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-20 08:00:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-21 21:14:28 +0300 |
commit | 21ea2743f015dbacec1831bdc8afc848db9c2b8c (patch) | |
tree | c52f5ce635471abf339434f27ecbfe9049e417cf /drivers/spi/spi-st-ssc4.c | |
parent | 258ea99fe25a5f761b16967afa93ed3101827e68 (diff) | |
download | linux-21ea2743f015dbacec1831bdc8afc848db9c2b8c.tar.xz |
spi: atmel: Put allocated master before return
The allocated master is not released. Goto error handling label rather
than directly return.
Fixes: 5e9af37e46bc ("spi: atmel: introduce probe deferring")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Fixes: 5e9af37e46bc ("spi: atmel: introduce probe deferring")
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210120050025.25426-1-bianpan2016@163.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-st-ssc4.c')
0 files changed, 0 insertions, 0 deletions