diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2023-03-20 23:18:26 +0100 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2023-04-03 18:52:41 +0200 |
commit | e0e01de8ee146986872e54e8365f4b4654819412 (patch) | |
tree | df8abbd2ae37e30e4b313703765ad3c8efce7ce8 /drivers/remoteproc/qcom_pil_info.h | |
parent | remoteproc: imx_rproc: Call of_node_put() on iteration error (diff) | |
download | linux-e0e01de8ee146986872e54e8365f4b4654819412.tar.xz linux-e0e01de8ee146986872e54e8365f4b4654819412.zip |
remoteproc: imx_dsp_rproc: Call of_node_put() on iteration error
Function of_phandle_iterator_next() calls of_node_put() on the last
device_node it iterated over, but when the loop exits prematurely it has
to be called explicitly.
Fixes: ec0e5549f358 ("remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX")
Cc: stable@vger.kernel.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20230320221826.2728078-6-mathieu.poirier@linaro.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/remoteproc/qcom_pil_info.h')
0 files changed, 0 insertions, 0 deletions