diff options
author | 2013-04-19 11:42:13 +0200 | |
---|---|---|
committer | 2013-05-02 21:50:38 +0530 | |
commit | f22eb1402244885126c4263eb36b857e4182dd6f (patch) | |
tree | 7767872c251466aa91c09fb85efd957418f4bf03 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dma: of: Remove unnecessary list_empty check (diff) | |
download | linux-dev-f22eb1402244885126c4263eb36b857e4182dd6f.tar.xz linux-dev-f22eb1402244885126c4263eb36b857e4182dd6f.zip |
dma: of: Fix of_node reference leak
of_dma_request_slave_channel() currently does not drop the reference to the
dma_spec of_node if no DMA controller matching the of_node could be found. This
patch fixes it by always calling of_node_put().
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions