Re: [PATCH] dmaengine: ti: k3-udma: add missing put_device() call in of_xudma_dev_get()

From: Vinod Koul
Date: Wed Jun 24 2020 - 02:06:32 EST


On 18-06-20, 21:01, Yu Kuai wrote:
> if of_find_device_by_node() succeed and platform_get_drvdata() failed,
> of_xudma_dev_get() will return without put_device(), which will leak
> the memory.

Applied, thanks

--
~Vinod