Commit 78b12a11 authored by Clark Wang's avatar Clark Wang Committed by sanglipeng
Browse files

spi: lpspi: disable lpspi module irq in DMA mode

stable inclusion
from stable-v5.10.186
commit 9138ed7e2b439b9f8f393194861e5b7967b50716
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8L5XP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9138ed7e2b439b9f8f393194861e5b7967b50716



--------------------------------

[ Upstream commit 9728fb3c ]

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: default avatarClark Wang <xiaoning.wang@nxp.com>
Link: https://lore.kernel.org/r/20230505063557.3962220-1-xiaoning.wang@nxp.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 947bb53d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment