]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: stm32-dma: fix DMA IRQ status handling
authorPierre Yves MORDRET <pierre-yves.mordret@st.com>
Tue, 13 Mar 2018 16:42:03 +0000 (17:42 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 4 Apr 2018 06:19:36 +0000 (11:49 +0530)
commit0f11c439ebc9bc9f9cc22307a124b3ef24963317
treecfaa7237af7e025f5c7035311f732cd4797565ec
parentd90874fe31daea74c2ca976f7c0bb85d509a0a34
dmaengine: stm32-dma: fix DMA IRQ status handling

Update the way Transfer Complete and Half Transfer Complete status are
acknowledge. Even if HTI is not enabled its status is shown when reading
registers, driver has to clear it gently and not raise an error.

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