[lvc-project] [PATCH] dmaengine: ti: edma: Check return value of of_dma_controller_register

Vinod Koul vkoul at kernel.org
Tue Oct 22 08:32:42 MSK 2024


On Mon, 23 Sep 2024 22:37:03 +0300, Mikhail Arkhipov wrote:
> If of_dma_controller_register() fails within the edma_probe() function,
> the driver does not check the return value or log the failure. This
> oversight can cause other drivers that rely on this DMA controller to fail
> during their probe phase. Specifically, when other drivers call
> of_dma_request_slave_channel(), they may receive an error code
> -EPROBE_DEFER, causing their initialization to be delayed or fail without
> clear logging of the root cause.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: ti: edma: Check return value of of_dma_controller_register
      commit: 83158a3a712ad6ebdebd470d25af04c66c4e2223

Best regards,
-- 
~Vinod





More information about the lvc-project mailing list