Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1457796
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] mfd: qcom_rpm: add missing of_node_put after calling of_parse_phandle |
| Date | 2016-08-08 15:40 +0200 |
| Message-ID | <s3SWB-1Y6-29@gated-at.bofh.it> (permalink) |
| References | <rVgv7-202-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 15 Jul 2016, Peter Chen wrote: > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com> > Cc: Lee Jones <lee.jones@linaro.org> > Signed-off-by: Peter Chen <peter.chen@nxp.com> > --- > drivers/mfd/qcom_rpm.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. > diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c > index 2e44323..ecca115 100644 > --- a/drivers/mfd/qcom_rpm.c > +++ b/drivers/mfd/qcom_rpm.c > @@ -538,6 +538,7 @@ static int qcom_rpm_probe(struct platform_device *pdev) > } > > rpm->ipc_regmap = syscon_node_to_regmap(syscon_np); > + of_node_put(syscon_np); > if (IS_ERR(rpm->ipc_regmap)) > return PTR_ERR(rpm->ipc_regmap); > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 1/1] mfd: qcom_rpm: add missing of_node_put after calling of_parse_phandle Lee Jones <lee.jones@linaro.org> - 2016-08-08 15:40 +0200
csiph-web