Searched hist:f9981d4f50b475d7dbb70f3022b87a3c8bba9fd6 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/spi/ |
H A D | spi.c | diff f9981d4f50b475d7dbb70f3022b87a3c8bba9fd6 Wed Mar 04 12:17:40 CET 2020 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|