Re: [PATCH v3 0/2] spi: axi-spi-engine: fix stale SYNC IRQ pending

From: Mark Brown

Date: Tue Oct 13 2026 - 17:10:36 EST


On Wed, 07 Oct 2026 05:52:05 -0300, Jonathan Santos wrote:
> spi: axi-spi-engine: fix stale SYNC IRQ pending
>
> Both spi_engine_setup() and spi_engine_trigger_enable() send a SYNC(1)
> command and poll SYNC_ID, but never clear INT_PENDING[SYNC] afterward.
> This leaves a stale pending bit that fires spuriously when INT_SYNC is
> enabled later by some driver, causing premature transfer completion at
> low SPI clock frequencies (more likely). Fix both functions by clearing
> the pending bit after polling.
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.4

Thanks!

[1/2] spi: axi-spi-engine: fix stale SYNC IRQ pending
https://git.kernel.org/broonie/misc/c/ea29c686f96a
[2/2] spi: axi-spi-engine: fix stale SYNC IRQ pending in trigger_enable
https://git.kernel.org/broonie/misc/c/18febc10a353

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark