commit | 52d2bf6e2c374ce9e211b2691c51677b2e63fe8c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 20 10:41:22 2021 +0100 |
committer | Simon Glass <sjg@chromium.org> | Mon Mar 22 19:23:26 2021 +1300 |
tree | d937da5b14f0f4305eae7b4b485c443e0929054c | |
parent | e24fdefda36a4527f7f4bad77684c9e12e8da5f2 [diff] |
dm: error handling dev_get_dma_range() goto after return has not effect. Calling of_node_put() in case of some errors and not for others is inconsistent. Fixes: 51bdb50904b ("dm: Introduce xxx_get_dma_range()") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>