dmaengine: stm32-mdma: rework interrupt handler
authorAmelie Delaunay <amelie.delaunay@st.com>
Fri, 20 Nov 2020 14:33:20 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:21:20 +0000 (10:21 +0200)
commit13d8d11dfaf925343a9a830e008f1ab4a18bb3c7
tree40b3bdd64ad3a7b2e000b6af4e3aa92d1f57c01c
parent0f87bd8b5fbf4d681b55bd8d320e04ec4f85be22
dmaengine: stm32-mdma: rework interrupt handler

[ Upstream commit 1d3dd68749b9f4a4da272f39608d03b4bae0b69f ]

To avoid multiple entries in MDMA interrupt handler for each flag&interrupt
enable, manage all flags set at once.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Link: https://lore.kernel.org/r/20201120143320.30367-5-amelie.delaunay@st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/stm32-mdma.c