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

From: Vinod Koul

Date: Mon Oct 05 2026 - 11:55:35 EST


On 02-10-26, 10:51, 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().

This doesnt apply on the current code, can you pleease rebase on the
next

--
~Vinod