diff options
author | 2020-08-17 19:57:27 +0800 | |
---|---|---|
committer | 2020-08-19 09:58:38 +0530 | |
commit | 3832b78b3ec2cf51e07102f9b4480e343459b20f (patch) | |
tree | 154fddb1b84b7c321372a65a4031013cfc3260d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate() (diff) | |
download | wireguard-linux-3832b78b3ec2cf51e07102f9b4480e343459b20f.tar.xz wireguard-linux-3832b78b3ec2cf51e07102f9b4480e343459b20f.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions