Re: [PATCH] dmaengine: at_hdmac: do exception handling appropriately in at_dma_xlate()
From: Vinod Koul
Date: Mon Aug 17 2020 - 01:16:26 EST
On 29-07-20, 20:29, Yu Kuai wrote:
> Do several things for exception handing:
>
> a. check return value of of_find_device_by_node().
> b. call put_device() if memory allocation for 'atslave' failed.
> c. if dma_request_channel() failed, call put_device() and kfree().
One patch per change please
--
~Vinod