]> www.infradead.org Git - linux.git/commit
dmaengine: dw-edma: Fix unmasking STOP and ABORT interrupts for HDMA
authorMrinmay Sarkar <quic_msarkar@quicinc.com>
Mon, 26 Aug 2024 12:11:00 +0000 (17:41 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 28 Aug 2024 13:10:17 +0000 (18:40 +0530)
commit383baf5c8f062091af34c63f28d37642a8f188ae
treeca19764edde9d37c393a4ae32e6bbc02f1102c9d
parentb53b831919a0dc4e6631ebe0497ab2a4d8bef014
dmaengine: dw-edma: Fix unmasking STOP and ABORT interrupts for HDMA

The current logic is enabling both STOP_INT_MASK and ABORT_INT_MASK
bit. This is apparently masking those particular interrupts rather than
unmasking the same. If the interrupts are masked, they would never get
triggered.

So fix the issue by unmasking the STOP and ABORT interrupts properly.

Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA")
cc: stable@vger.kernel.org
Signed-off-by: Mrinmay Sarkar <quic_msarkar@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/1724674261-3144-2-git-send-email-quic_msarkar@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-edma/dw-hdma-v0-core.c