Re: [PATCH v26] dmaengine: qcom: bam_dma: free interrupt before the clock in error path

From: Vinod Koul

Date: Thu Oct 08 2026 - 08:45:08 EST



On Tue, 06 Oct 2026 10:08:11 +0200, Bartosz Golaszewski wrote:
> The BAM interrupt is requested with a devres helper and so on error it's
> freed after probe() returns. We disable the clock before freeing or
> masking it so it may still fire and we may end up reading BAM registers
> with clock disabled.
>
> Stop using devres for interrupts as we free it in remove() manually
> anyway. Add an appropriate label and free the interrupt before disabling
> the clock in error path and in remove().
>
> [...]

Applied, thanks!

[1/1] dmaengine: qcom: bam_dma: free interrupt before the clock in error path
commit: 82eed160cfa7a296ae4eb5acb8dd8f493323eea7

Best regards,
--
~Vinod