Re: [PATCH] spi: spi-fsl-qspi: call spi_unregister_controller

2019-03-12 Thread Volker Haspel
On Mon, 11 Mar 2019 17:03:34 + Mark Brown wrote: > On Thu, Mar 07, 2019 at 11:30:08AM +0100, Volker Haspel wrote: > > The driver does not clearly unregister the spi controller. > > Therefore calling an unbind and bind again will end up in a > > Kernel crash. > > Each driver who calls spi_regi

Re: [PATCH] spi: spi-fsl-qspi: call spi_unregister_controller

2019-03-11 Thread Mark Brown
On Thu, Mar 07, 2019 at 11:30:08AM +0100, Volker Haspel wrote: > The driver does not clearly unregister the spi controller. > Therefore calling an unbind and bind again will end up in a > Kernel crash. > Each driver who calls spi_register_controller() in the probe function > has to call spi_unregis

[PATCH] spi: spi-fsl-qspi: call spi_unregister_controller

2019-03-07 Thread Volker Haspel
The driver does not clearly unregister the spi controller. Therefore calling an unbind and bind again will end up in a Kernel crash. Each driver who calls spi_register_controller() in the probe function has to call spi_unregister_controller() too. Signed-off-by: Volker Haspel Signed-off-by: John