Re: [PATCH] dmaengine: sh: rcar-dmac: Check for error num after setting mask

From: Vinod Koul
Date: Tue Feb 15 2022 - 00:27:33 EST


On 06-01-22, 11:09, Jiasheng Jiang wrote:
> Because of the possible failure of the dma_supported(), the
> dma_set_mask_and_coherent() may return error num.
> Therefore, it should be better to check it and return the error if
> fails.

Applied, thanks

--
~Vinod