linux/drivers/spi
Linus Torvalds b2680ba4a2 spi: Fixes for v7.1
This is quite a big set of fixes, almost all from Johan Hovold who is on
 an ongoing quest to clean up issues with probe and removal handling in
 drivers.  There isn't anything too concerning here especially with the
 deregistration stuff which will very rarely get run in production
 systems since this is all platform devices in the SoC on embedded
 hardware, but it's all real issues which should be fixed.  There's more
 in flight here.
 
 We also have a few other minor fixes, one from Felix Gu along the same
 lines as Johan's work and a couple of documentation things.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmnrhSUACgkQJNaLcl1U
 h9C4HwgAgcnZgIZvPQp5mQ0G3sq1udBJQja4zYyQyuZt7o+1qLs/qiPw+KA1HV/C
 hVXFcns2Uy+Sqmi1fPlVadWsOODcwYz3wfS198Du8y4WqIeynVFYoYvXxQmAJYYW
 zq0VD9LE/5Y+ONwABzqkfgy7ZvNzykoRgodKPoruqnkYqU0ZH7iY/k7916vxk4+Z
 +8hCDlG5JHv7Uw1wAuftwnACIhsi4jN3f7wsvA++ac3OXKpDC/0l4JX2gBzPaxfI
 HaT5+W+tDIDk7IbQmweatMMIoi6cvjttieoh6HLqGdJZF0aI7IgH71CDAB+6fWrx
 kwZIkX2FL5+mVLA1vCUNjwkZDFS+pg==
 =MD5+
 -----END PGP SIGNATURE-----

Merge tag 'spi-fix-v7.1-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Pull spi fixes from Mark Brown:
 "This is quite a big set of fixes, almost all from Johan Hovold who is
  on an ongoing quest to clean up issues with probe and removal handling
  in drivers.

  There isn't anything too concerning here especially with the
  deregistration stuff which will very rarely get run in production
  systems since this is all platform devices in the SoC on embedded
  hardware, but it's all real issues which should be fixed. There's more
  in flight here.

  We also have a few other minor fixes, one from Felix Gu along the same
  lines as Johan's work and a couple of documentation things"

* tag 'spi-fix-v7.1-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (23 commits)
  spi: fix controller cleanup() documentation
  spi: fix resource leaks on device setup failure
  spi: axiado: clean up probe return value
  spi: axiado: rename probe error labels
  spi: axiado: fix runtime pm imbalance on probe failure
  spi: orion: clean up probe return value
  spi: orion: fix clock imbalance on registration failure
  spi: orion: fix runtime pm leak on unbind
  spi: imx: fix runtime pm leak on probe deferral
  spi: mpc52xx: fix use-after-free on registration failure
  spi: Fix the error description in the `ptp_sts_word_post` comment
  spi: topcliff-pch: fix use-after-free on unbind
  spi: topcliff-pch: fix controller deregistration
  spi: orion: fix controller deregistration
  spi: mxic: fix controller deregistration
  spi: mpc52xx: fix use-after-free on unbind
  spi: mpc52xx: fix controller deregistration
  spi: cadence-quadspi: fix controller deregistration
  spi: cadence: fix controller deregistration
  spi: mtk-snfi: fix memory leak in probe
  ...
2026-04-24 13:16:36 -07:00
..
Kconfig spi: atcspi200: enable compile testing 2026-04-09 19:44:58 +01:00
Makefile spi: dw: Remove not-going-to-be-supported code for Baikal SoC 2026-01-29 11:54:47 +00:00
atmel-quadspi.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
internals.h
spi-airoha-snfi.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-altera-core.c
spi-altera-dfl.c
spi-altera-platform.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-amd-pci.c spi: spi_amd: Remove the use of dev_err_probe() 2025-08-19 13:05:58 +01:00
spi-amd.c spi: spi_amd: Remove the use of dev_err_probe() 2025-08-19 13:05:58 +01:00
spi-amd.h
spi-amlogic-spifc-a1.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-amlogic-spifc-a4.c spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback 2026-03-30 18:53:06 +01:00
spi-amlogic-spisg.c spi: amlogic-spisg: fix controller deregistration 2026-04-09 20:07:59 +01:00
spi-apple.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-ar934x.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-armada-3700.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-aspeed-smc.c spi: aspeed-smc: fix controller deregistration 2026-04-09 20:08:00 +01:00
spi-at91-usart.c spi: at91-usart: fix controller deregistration 2026-04-09 20:08:00 +01:00
spi-atcspi200.c spi: controller registration fixes 2026-03-16 18:36:09 +00:00
spi-ath79.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-atmel.c spi: atmel: fix controller deregistration 2026-04-09 20:08:01 +01:00
spi-au1550.c
spi-axi-spi-engine.c spi: Use trace_call__##name() at guarded tracepoint call sites 2026-03-26 10:24:39 -04:00
spi-axiado.c spi: axiado: clean up probe return value 2026-04-22 15:05:53 +01:00
spi-axiado.h spi: axiado: Add driver for Axiado SPI DB controller 2026-01-09 13:21:55 +00:00
spi-bcm-qspi.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
spi-bcm-qspi.h
spi-bcm63xx-hsspi.c spi: bcm63xx-hsspi: fix controller deregistration 2026-04-09 20:08:03 +01:00
spi-bcm63xx.c spi: bcm63xx: fix controller deregistration 2026-04-09 20:08:02 +01:00
spi-bcm2835.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-bcm2835aux.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-bcmbca-hsspi.c spi: bcmbca-hsspi: fix controller deregistration 2026-04-09 20:08:04 +01:00
spi-bitbang-txrx.h
spi-bitbang.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-brcmstb-qspi.c
spi-butterfly.c
spi-cadence-quadspi.c spi: fix explicit controller deregistration 2026-04-20 12:39:35 +01:00
spi-cadence-xspi.c spi: cadence-xspi: support suspend/resume 2026-01-27 12:46:29 +00:00
spi-cadence.c spi: cadence: fix controller deregistration 2026-04-20 12:39:24 +01:00
spi-cavium-octeon.c spi: octeon: fix controller deregistration 2026-04-09 20:08:05 +01:00
spi-cavium-thunderx.c spi: cavium-thunderx: fix controller deregistration 2026-04-09 20:08:05 +01:00
spi-cavium.c
spi-cavium.h
spi-ch341.c spi: ch341: fix devres lifetime 2026-04-01 18:21:09 +01:00
spi-clps711x.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-coldfire-qspi.c spi: coldfire-qspi: fix controller deregistration 2026-04-09 20:08:06 +01:00
spi-cs42l43.c spi: cs42l43: Don't support sidecar properties on device tree systems 2026-02-23 12:17:51 +00:00
spi-davinci.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-dln2.c spi: dln2: fix controller deregistration 2026-04-09 20:08:07 +01:00
spi-dw-core.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-dw-dma.c spi: spi-dw-dma: fix print error log when wait finish transaction 2026-03-02 22:33:32 +00:00
spi-dw-mmio.c spi: dw: Remove duplicate error message 2026-01-28 11:58:11 +00:00
spi-dw-pci.c spi: dw: rename the spi controller to ctlr 2025-10-13 11:27:35 +01:00
spi-dw.h spi: dw: rename the spi controller to ctlr 2025-10-13 11:27:35 +01:00
spi-ep93xx.c spi: ep93xx: fix controller deregistration 2026-04-09 20:08:08 +01:00
spi-falcon.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-fsi.c Char/Misc/IIO driver changes for 7.0-rc1 2026-02-17 09:11:04 -08:00
spi-fsl-cpm.c
spi-fsl-cpm.h
spi-fsl-dspi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-fsl-espi.c spi: fsl-espi: fix controller deregistration 2026-04-09 20:08:09 +01:00
spi-fsl-lib.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-fsl-lib.h
spi-fsl-lpspi.c Add Renesas RZ/G3L RSPI support 2026-04-08 15:57:55 +01:00
spi-fsl-qspi.c spi: fsl-qspi: Use reinit_completion() for repeated operations 2026-03-09 20:12:06 +00:00
spi-fsl-spi.c spi: fsl: fix controller deregistration 2026-04-10 13:18:52 +01:00
spi-fsl-spi.h
spi-geni-qcom.c spi: geni-qcom: Check DMA interrupts early in ISR 2026-03-17 17:07:47 +00:00
spi-gpio.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-gxp.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-hisi-kunpeng.c spi: hisi-kunpeng: Add timeout warning in FIFO flush function 2026-03-23 22:02:40 +00:00
spi-hisi-sfc-v3xx.c
spi-img-spfi.c spi: img-spfi: fix controller deregistration 2026-04-09 20:08:10 +01:00
spi-imx.c spi: imx: fix runtime pm leak on probe deferral 2026-04-22 13:44:20 +01:00
spi-ingenic.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-intel-pci.c spi: intel-pci: Add support for Nova Lake mobile SPI flash 2026-03-11 00:07:54 +00:00
spi-intel-platform.c
spi-intel.c spi: intel: Add support for 128M component density 2025-10-20 16:15:29 +01:00
spi-intel.h
spi-iproc-qspi.c
spi-jcore.c
spi-kspi2.c
spi-lantiq-ssc.c spi: lantiq-ssc: fix controller deregistration 2026-04-09 20:08:10 +01:00
spi-ljca.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-lm70llp.c
spi-loongson-core.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-loongson-pci.c
spi-loongson-plat.c
spi-loongson.h
spi-loopback-test.c spi: loopback-test: Don't use %pK through printk 2025-08-12 12:06:13 +01:00
spi-lp8841-rtc.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-mem.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-meson-spicc.c spi: meson-spicc: fix controller deregistration 2026-04-09 20:08:11 +01:00
spi-meson-spifc.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-microchip-core-qspi.c spi: microchip-core-qspi: fix controller deregistration 2026-04-09 20:08:12 +01:00
spi-microchip-core-spi.c spi: microchip-core-spi: fix controller deregistration 2026-04-09 20:08:13 +01:00
spi-mpc52xx-psc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-mpc52xx.c spi: mpc52xx: fix use-after-free on registration failure 2026-04-22 13:43:09 +01:00
spi-mpc512x-psc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-mpfs.c spi: mpfs: fix controller deregistration 2026-04-09 20:08:14 +01:00
spi-mt65xx.c spi: mt65xx: fix controller deregistration 2026-04-10 13:22:24 +01:00
spi-mt7621.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-mtk-nor.c spi: mtk-nor: fix controller deregistration 2026-04-10 13:22:25 +01:00
spi-mtk-snfi.c spi: mtk-snfi: fix memory leak in probe 2026-04-16 15:54:22 +01:00
spi-mux.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-mxic.c spi: mxic: fix controller deregistration 2026-04-20 12:39:28 +01:00
spi-mxs.c spi: mxs: fix controller deregistration 2026-04-10 13:22:26 +01:00
spi-npcm-fiu.c spi: npcm-fiu: drop unused remove callback 2026-04-09 19:51:47 +01:00
spi-npcm-pspi.c spi: npcm-pspi: fix controller deregistration 2026-04-10 13:22:27 +01:00
spi-nxp-fspi.c spi: nxp-fspi: Use reinit_completion() for repeated operations 2026-03-09 20:12:05 +00:00
spi-nxp-xspi.c spi: nxp-xspi: Use reinit_completion() for repeated operations 2026-03-09 20:12:04 +00:00
spi-oc-tiny.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-offload-trigger-adi-util-sigma-delta.c spi: offload trigger: adi-util-sigma-delta: clean up imports 2025-08-18 13:13:57 +01:00
spi-offload-trigger-pwm.c spi: offload: Add offset parameter 2025-10-13 11:27:52 +01:00
spi-offload.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-omap-uwire.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-omap2-mcspi.c spi: omap2-mcspi: fix controller deregistration 2026-04-10 13:22:28 +01:00
spi-orion.c spi: orion: clean up probe return value 2026-04-22 13:49:16 +01:00
spi-pci1xxxx.c
spi-pic32-sqi.c spi: pic32-sqi: fix controller deregistration 2026-04-10 13:22:29 +01:00
spi-pic32.c spi: pic32: fix controller deregistration 2026-04-10 13:22:28 +01:00
spi-pl022.c spi: pl022: fix controller deregistration 2026-04-10 13:22:30 +01:00
spi-ppc4xx.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-pxa2xx-dma.c spi: pxa2xx: update outdated reference to pump_transfers() 2026-03-24 19:55:23 +00:00
spi-pxa2xx-pci.c
spi-pxa2xx-platform.c
spi-pxa2xx.c spi: pxa2xx: use min() instead of min_t() 2026-02-23 19:10:26 +00:00
spi-pxa2xx.h
spi-qcom-qspi.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-qpic-snand.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-qup.c spi: qup: fix controller deregistration 2026-04-10 13:22:31 +01:00
spi-rb4xx.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-realtek-rtl-snand.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-realtek-rtl.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-rockchip-sfc.c spi: rockchip-sfc: Fix double-free in remove() callback 2026-03-09 19:10:21 +00:00
spi-rockchip.c spi: rockchip: switch to managed controller allocation 2026-03-24 14:25:50 +00:00
spi-rpc-if.c spi: rpc-if: Add resume support for RZ/G3E 2025-09-22 09:21:18 +01:00
spi-rspi.c spi: rspi: fix controller deregistration 2026-04-10 13:22:32 +01:00
spi-rzv2h-rspi.c spi: rzv2h-rspi: Fix max_speed_hz and clock configuration issues 2026-04-10 13:20:01 +01:00
spi-rzv2m-csi.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-s3c64xx.c spi: s3c64xx: fix NULL-deref on driver unbind 2026-04-10 13:45:39 +01:00
spi-sc18is602.c spi: Drop duplicate device_set_node() call 2026-01-19 14:42:54 +00:00
spi-sg2044-nor.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-sh-hspi.c spi: sh-hspi: fix controller deregistration 2026-04-10 13:22:33 +01:00
spi-sh-msiof.c spi: sh-msiof: fix controller deregistration 2026-04-10 13:22:34 +01:00
spi-sh-sci.c
spi-sh.c
spi-sifive.c spi: sifive: fix controller deregistration 2026-04-10 13:22:35 +01:00
spi-slave-mt27xx.c spi: slave-mt27xx: fix controller deregistration 2026-04-10 13:22:36 +01:00
spi-slave-system-control.c
spi-slave-time.c
spi-sn-f-ospi.c spi: sn-f-ospi: fix incorrect return code for invalid num-cs 2026-04-11 12:58:16 +01:00
spi-sprd-adi.c spi: aspeed: Improve handling of shared SPI 2026-01-28 11:22:06 +00:00
spi-sprd.c spi: sprd: fix controller deregistration 2026-04-10 13:22:37 +01:00
spi-st-ssc4.c spi: st-ssc4: fix controller deregistration 2026-04-10 13:22:38 +01:00
spi-stm32-ospi.c Add Renesas RZ/G3L RSPI support 2026-04-08 15:57:55 +01:00
spi-stm32-qspi.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-stm32.c spi: stm32: Simplify clock handling with devm_clk_get_enabled() 2026-03-23 19:47:42 +00:00
spi-sun4i.c spi: sun4i: fix controller deregistration 2026-04-10 13:22:39 +01:00
spi-sun6i.c spi: sun6i: fix controller deregistration 2026-04-10 13:22:39 +01:00
spi-sunplus-sp7021.c spi: sunplus-sp7021: Simplify clock handling with devm_clk_get_enabled() 2026-03-23 19:47:43 +00:00
spi-synquacer.c spi: syncuacer: fix controller deregistration 2026-04-10 13:22:40 +01:00
spi-tegra20-sflash.c spi: tegra20-sflash: fix controller deregistration 2026-04-10 13:22:42 +01:00
spi-tegra20-slink.c spi: tegra20-slink: switch to managed controller allocation 2026-03-24 14:25:49 +00:00
spi-tegra114.c spi: tegra114: fix controller deregistration 2026-04-10 13:22:41 +01:00
spi-tegra210-quad.c spi: tegra210-quad: Fix false positive WARN on interrupt timeout with transfer complete 2026-04-10 13:20:24 +01:00
spi-test.h
spi-ti-qspi.c spi: ti-qspi: fix controller deregistration 2026-04-10 13:22:43 +01:00
spi-tle62x0.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
spi-topcliff-pch.c spi: topcliff-pch: fix use-after-free on unbind 2026-04-20 12:39:31 +01:00
spi-uniphier.c spi: uniphier: fix controller deregistration 2026-04-10 13:22:44 +01:00
spi-virtio.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
spi-wpcm-fiu.c spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe() 2026-02-13 17:08:24 +00:00
spi-xcomm.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-xilinx.c spi: xilinx: use device property accessors. 2026-02-03 21:06:18 +00:00
spi-xlp.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-xtensa-xtfpga.c spi: Drop duplicate of_node assignment 2026-01-19 14:42:52 +00:00
spi-zynq-qspi.c spi: zynq-qspi: fix controller deregistration 2026-04-10 13:22:45 +01:00
spi-zynqmp-gqspi.c spi: zynqmp-gqspi: fix controller deregistration 2026-04-10 13:22:44 +01:00
spi.c spi: Fixes for v7.1 2026-04-24 13:16:36 -07:00
spidev.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00