summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2018-01-25 21:16:17 +0100
committerMark Brown <broonie@kernel.org>2018-01-26 11:43:39 +0000
commit479c03a7173d07b2967f9b521159271543d99e2f (patch)
tree395c0f3a7007bce1eb1dea12c748b861c0b6f7d2 /scripts
parent92ae112e477ac412decc3fdd5c1eeb6c90c266b4 (diff)
downloadlinux-479c03a7173d07b2967f9b521159271543d99e2f.tar.bz2
spi: orion: Fix a resource leak if the optional "axi" clk is deferred
If the optional "axi" clk is deferred, we still need to undo some initialisation. Especially 'master' must be released. It will be reallocated the next time 'orion_spi_probe()' is called. Add a new label to clean what needs to be cleaned and rename another label to improve the names used. Fixes: 92ae112e477a ("spi: orion: Fix clock resource by adding an optional bus clock") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions