diff options
author | 2020-03-04 13:17:40 +0200 | |
---|---|---|
committer | 2020-03-04 14:28:57 +0000 | |
commit | f9981d4f50b475d7dbb70f3022b87a3c8bba9fd6 (patch) | |
tree | 6e86fa62b26407a7ef49117c40e96727c9c38036 /tools/perf/util/llvm-utils.c | |
parent | spi: bcm63xx-hsspi: Really keep pll clk enabled (diff) | |
download | wireguard-linux-f9981d4f50b475d7dbb70f3022b87a3c8bba9fd6.tar.xz wireguard-linux-f9981d4f50b475d7dbb70f3022b87a3c8bba9fd6.zip |
spi: spi_register_controller(): free bus id on error paths
Some error paths leave the bus id allocated. As a result the IDR
allocation will fail after a deferred probe. Fix by freeing the bus id
always on error.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Message-Id: <20200304111740.27915-1-aaro.koskinen@nokia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions