commit | 3832b78b3ec2cf51e07102f9b4480e343459b20f | [log] [tgz] |
---|---|---|
author | Yu Kuai <yukuai3@huawei.com> | Mon Aug 17 19:57:27 2020 +0800 |
committer | Vinod Koul <vkoul@kernel.org> | Wed Aug 19 09:58:38 2020 +0530 |
tree | 154fddb1b84b7c321372a65a4031013cfc3260d1 | |
parent | 0cef8e2c5a07d482ec907249dbd6687e8697677f [diff] |
dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate() If of_find_device_by_node() succeed, at_dma_xlate() doesn't have a corresponding put_device(). Thus add put_device() to fix the exception handling for this function implementation. Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20200817115728.1706719-3-yukuai3@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>