linux/drivers/base/power
Tobias Jordan 2a39eae0cb PM / OPP: Add missing of_node_put(np)
commit 7978db3447 upstream.

The for_each_available_child_of_node() loop in _of_add_opp_table_v2()
doesn't drop the reference to "np" on errors. Fix that.

Fixes: 274659029c (PM / OPP: Add support to parse "operating-points-v2" bindings)
Signed-off-by: Tobias Jordan <Tobias.Jordan@elektrobit.com>
[ VK: Improved commit log. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-11-30 08:39:09 +00:00
..
opp PM / OPP: Add missing of_node_put(np) 2017-11-30 08:39:09 +00:00
clock_ops.c PM / clk: Add support for adding a specific clock from device-tree 2016-06-28 00:42:10 +02:00
common.c PM: Avoid false-positive warnings in dev_pm_domain_set() 2016-02-03 19:10:37 +01:00
domain.c PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present 2017-07-27 15:08:08 -07:00
domain_governor.c PM / Domains: Rename stop_ok to suspend_ok for the genpd governor 2016-04-22 02:29:17 +02:00
generic_ops.c PM / PCI / ACPI: Kick devices that might have been reset by firmware 2015-10-14 02:17:34 +02:00
main.c PM: core: Fix device_pm_check_callbacks() 2017-10-05 09:44:01 +02:00
Makefile PM / OPP: Move opp core to its own directory 2015-09-15 02:03:16 +02:00
power.h PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend 2017-01-12 11:39:31 +01:00
qos.c PM / QoS: Make it possible to expose device latency tolerance to userspace 2015-07-28 08:50:41 +01:00
runtime.c PM / runtime: Avoid false-positive warnings from might_sleep_if() 2017-06-17 06:41:51 +02:00
sysfs.c PM / QoS: return -EINVAL for bogus strings 2017-07-21 07:42:24 +02:00
trace.c char/genrtc: x86: remove remnants of asm/rtc.h 2016-06-04 00:20:07 +02:00
wakeirq.c PM / wakeirq: report a wakeup_event on dedicated wekup irq 2017-11-08 10:08:33 +01:00
wakeup.c PM / wakeirq: Convert to SRCU 2017-07-21 07:42:24 +02:00