diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-01-09 01:02:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-11 08:49:35 -0700 |
commit | c77512d671027c613db117dd1b45bd983c3a9954 (patch) | |
tree | 1d7cb9475a6190b6c2ae73103ba00163a98199d3 /arch | |
parent | f897e9ae07c428a04cf4fae0150a3d148ed1b09a (diff) |
spi: spi-axi: Free resources on error path
[ Upstream commit 9620ca90115d4bd700f05862d3b210a266a66efe ]
We should go to 'err_put_master' here instead of returning directly.
Otherwise a call to 'spi_master_put' is missing.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions