diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-19 21:00:25 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-21 18:14:28 +0000 |
commit | 21ea2743f015dbacec1831bdc8afc848db9c2b8c (patch) | |
tree | c52f5ce635471abf339434f27ecbfe9049e417cf /samples | |
parent | 258ea99fe25a5f761b16967afa93ed3101827e68 (diff) |
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 'samples')
0 files changed, 0 insertions, 0 deletions