From 4d41c8cb970cb719a7008a68ad66cf1c1ecc82ad Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Tue, 5 Jul 2016 10:11:03 +0800 Subject: [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: linux-arm-kernel@lists.infradead.org Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Peter Chen Signed-off-by: Bjorn Andersson --- drivers/hwspinlock/qcom_hwspinlock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c index c752447fbac7..fa6880b8060a 100644 --- a/drivers/hwspinlock/qcom_hwspinlock.c +++ b/drivers/hwspinlock/qcom_hwspinlock.c @@ -98,6 +98,7 @@ static int qcom_hwspinlock_probe(struct platform_device *pdev) } regmap = syscon_node_to_regmap(syscon); + of_node_put(syscon); if (IS_ERR(regmap)) return PTR_ERR(regmap); From 2dbd85859fca74d3d3a9f05f399c53a89f7ed2bd Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Wed, 6 Jul 2016 20:44:29 -0700 Subject: [PATCH 2/2] MAINTAINERS: Update hwspinlock paths Include all files in drivers/hwspinlock and hwlock related dt bindings in the hw spinlock section of MAINTAINERS. Cc: Peter Chen Signed-off-by: Bjorn Andersson --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ed42cb65a19b..8e8961118b02 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5268,8 +5268,9 @@ M: Bjorn Andersson L: linux-remoteproc@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock.git +F: Documentation/devicetree/bindings/hwlock/ F: Documentation/hwspinlock.txt -F: drivers/hwspinlock/hwspinlock_* +F: drivers/hwspinlock/ F: include/linux/hwspinlock.h HARMONY SOUND DRIVER