diff options
author | 2021-01-19 21:00:25 -0800 | |
---|---|---|
committer | 2021-01-21 18:14:28 +0000 | |
commit | 21ea2743f015dbacec1831bdc8afc848db9c2b8c (patch) | |
tree | c52f5ce635471abf339434f27ecbfe9049e417cf /drivers/spi/spi-mem.c | |
parent | spi: spi-mpc52xx: Use new structure for SPI transfer delays (diff) | |
download | wireguard-linux-21ea2743f015dbacec1831bdc8afc848db9c2b8c.tar.xz wireguard-linux-21ea2743f015dbacec1831bdc8afc848db9c2b8c.zip |
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-mem.c')
0 files changed, 0 insertions, 0 deletions