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)
commitca4c72c01e349ff6313ced02e8e66f8e691530a9
tree03417789b0fb71b41e7ca9cf2d0321dac386a7ed
parent906b40b246b0acb54c4dc97e815cf734761c9820
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