[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190311170334.GA14368@sirena.org.uk>
Date: Mon, 11 Mar 2019 17:03:34 +0000
From: Mark Brown <broonie@...nel.org>
To: Volker Haspel <volker.haspel@...utronix.de>
Cc: linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
Han Xu <han.xu@....com>, john.ogness@...utronix.de
Subject: Re: [PATCH] spi: spi-fsl-qspi: call spi_unregister_controller
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_unregister_controller() too.
Why not change it to use devm?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists