[GIT PULL] SPI fixes for v7.0-merge-window

From: Mark Brown

Date: Fri Feb 20 2026 - 14:11:24 EST


The following changes since commit 5af56f30c4fcbade4a92f94dadfea517d1db9703:

spi: tools: Add include folder to .gitignore (2026-02-09 12:27:31 +0000)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v7.0-merge-window

for you to fetch changes up to 40534d19ed2afb880ecf202dab26a8e7a5808d16:

spi: spidev: fix lock inversion between spi_lock and buf_lock (2026-02-17 15:29:16 +0000)

----------------------------------------------------------------
spi: Fixes for v7.0 merge window

There's a relatively large but ultimately simple fix for spidev here
which addresses some ABBA races by simplifying down to just using a
single lock, it's not clear to me that there was ever any benefit in
having the two separate locks in the first place.

We also have simple missing error check fix in in the wpcm-fiu driver.

----------------------------------------------------------------
Fabian Godehardt (1):
spi: spidev: fix lock inversion between spi_lock and buf_lock

Felix Gu (1):
spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()

drivers/spi/spi-wpcm-fiu.c | 2 +-
drivers/spi/spidev.c | 63 ++++++++++++++++------------------------------
2 files changed, 23 insertions(+), 42 deletions(-)