spi: lpspi: disable lpspi module irq in DMA mode
authorClark Wang <xiaoning.wang@nxp.com>
Fri, 5 May 2023 06:35:57 +0000 (14:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jun 2023 09:12:37 +0000 (11:12 +0200)
commit06b9522ca831c505ff2874ef22c0cf0f7314aebb
tree322c37802a786d3b190f79c2f876b301a6e6f5ca
parent39a77f005f8a7e2fb8ddc678883a34d0d5874437
spi: lpspi: disable lpspi module irq in DMA mode

[ Upstream commit 9728fb3ce11729aa8c276825ddf504edeb00611d ]

When all bits of IER are set to 0, we still can observe the lpspi irq events
when using DMA mode to transfer data.

So disable irq to avoid the too much irq events.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Link: https://lore.kernel.org/r/20230505063557.3962220-1-xiaoning.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-fsl-lpspi.c