diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-04-20 21:46:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-21 16:07:04 +0100 |
commit | 24b5515aa3ac075880be776bf36553ff7f9712c7 (patch) | |
tree | c543237189edeb9e2e0204c9870f11920bfb562e /tools/spi | |
parent | 31ed8ebc7a27c1937184b956727bf71d4adc7df3 (diff) | |
download | linux-stable-24b5515aa3ac075880be776bf36553ff7f9712c7.tar.gz linux-stable-24b5515aa3ac075880be776bf36553ff7f9712c7.tar.bz2 linux-stable-24b5515aa3ac075880be776bf36553ff7f9712c7.zip |
spi: fsi: add a missing of_node_put
'for_each_available_child_of_node' performs an of_node_get on each
iteration, so a return from the middle of the loop requires an of_node_put.
Fixes: bbb6b2f9865b ("spi: Add FSI-attached SPI controller driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/504e431b900341249d331b868d90312cf41f415a.1618947919.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions