Re: [PATCH v2] dmaengine: Fix return value for dma_requrest_chan() in case of failure

From: Vinod Koul
Date: Thu Jan 30 2020 - 03:25:10 EST


On 30-01-20, 08:08, Marek Szyprowski wrote:
> Commit 71723a96b8b1 ("dmaengine: Create symlinks between DMA channels and
> slaves") changed the dma_request_chan() function flow in such a way that
> it always returns EPROBE_DEFER in case of channels that cannot be found.
> This break the operation of the devices which have optional DMA channels
> as it puts their drivers in endless deferred probe loop. Fix this by
> propagating the proper error value.

Fixed the title and Applied, thanks

--
~Vinod