[PATCH] dmaengine: at_hdmac: do exception handling appropriately in at_dma_xlate()

Vinod Koul vkoul at kernel.org
Mon Aug 17 01:16:07 EDT 2020


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



More information about the linux-arm-kernel mailing list