From: Mark Brown Date: Tue, 24 Mar 2026 14:25:52 +0000 (+0000) Subject: spi: Use after free fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0561a1d583caece08d1fb904304c92c561e86a;p=thirdparty%2Fkernel%2Flinux.git spi: Use after free fixes Johan Hovold says: The SPI subsystem frees the controller and any subsystem allocated driver data as part of deregistration (unless the allocation is device managed). This series fixes the IMX driver that got this wrong and then converts it to use device managed allocation. Included are also a (preparatory) deregistration fix for the rockchip driver and related cleanups for the tegre20-slink and rockchip drivers that both take a controller reference during unbind. --- fa0561a1d583caece08d1fb904304c92c561e86a