]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: stm32-dma: check FIFO error interrupt enable
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Thu, 3 Jan 2019 10:17:29 +0000 (11:17 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 04:22:24 +0000 (09:52 +0530)
commit2f5ca155a3b65934351a324c84a2398fbbb91b4d
tree03417789b0fb71b41e7ca9cf2d0321dac386a7ed
parentd054a35425bc61c1d39596351343f0501d4187e6
dmaengine: stm32-dma: check FIFO error interrupt enable

For avoiding false FIFO detection, check FIFO Error interrupt is
enabled prior raising any errors.
This will prevent having spurious FIFO error where it shouldn't.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32-dma.c