Liang He d17e37c41b of: device: Fix missing of_node_put() in of_dma_set_restricted_buffer
We should use of_node_put() for the reference 'node' returned by
of_parse_phandle() which will increase the refcount.

Fixes: fec9b625095f ("of: Add plumbing for restricted DMA pool")
Co-authored-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220702014449.263772-1-windhl@126.com
2022-07-12 10:58:33 -06:00
..
2022-05-23 16:37:01 -05:00
2021-10-07 13:39:51 +01:00
2021-10-07 13:39:51 +01:00
2022-05-25 16:18:27 -07:00
2022-05-25 14:56:06 -07:00