]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
spi: fix explicit controller deregistration
authorMark Brown <broonie@kernel.org>
Mon, 20 Apr 2026 11:39:35 +0000 (12:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2026 11:39:35 +0000 (12:39 +0100)
Johan Hovold <johan@kernel.org> says:

Turns out we have a few drivers that get the tear down ordering wrong
also when not using device managed registration (cf. [1] and [2]).

Fix this to avoid issues like system errors due to unclocked accesses,
NULL-pointer dereferences, hangs or failed I/O during during
deregistration (e.g. when powering down devices).

Johan

[1] https://lore.kernel.org/lkml/20260409120419.388546-2-johan@kernel.org/
[2] https://lore.kernel.org/lkml/20260410081757.503099-1-johan@kernel.org/

1  2 
MAINTAINERS
drivers/spi/spi-cadence-quadspi.c

diff --cc MAINTAINERS
Simple merge
Simple merge