Skip to content
Unverified Commit 8fcb830a authored by Volker Haspel's avatar Volker Haspel Committed by Mark Brown
Browse files

spi: spi-fsl-qspi: use devm_spi_register_controller



The driver does not clearly unregister the spi controller.
Therefore calling an unbind and bind again will end up in a
Kernel crash.

The function devm_spi_register_controller will automatically
be unregister the SPI device.

Signed-off-by: default avatarVolker Haspel <volker.haspel@linutronix.de>
Signed-off-by: default avatarJohn Ogness <john.ogness@linutronix.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0a9c8998
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment