linux/drivers/base/power
Chander Kashyap 703d671298 PM / OPP: fix incorrect OPP count handling in of_init_opp_table
commit 086abb5859 upstream.

In of_init_opp_table function, if a failure to add an OPP is
detected, the count of OPPs, yet to be added is not updated.
Fix this by decrementing this count on failure as well.

Signed-off-by: Chander Kashyap <k.chander@samsung.com>
Signed-off-by: Inderpal Singh <inderpal.s@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-30 20:11:59 -07:00
..
Makefile PM / Domains: Add device stop governor function (v4) 2011-12-01 21:47:40 +01:00
clock_ops.c PM / clock_ops: report clock errors from clk_enable() 2014-01-15 01:50:50 +01:00
common.c PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data() 2013-05-12 14:04:40 +02:00
domain.c PM / Runtime: Rework the "runtime idle" helper routine 2013-06-03 21:49:52 +02:00
domain_governor.c PM / Domains: Fix computation of maximum domain off time 2012-05-11 21:11:44 +02:00
generic_ops.c PM / Runtime: Implement the pm_generic_runtime functions for CONFIG_PM 2013-12-22 01:39:58 +01:00
main.c Revert "cpufreq: suspend governors on system suspend/hibernate" 2013-12-08 01:04:17 +01:00
opp.c PM / OPP: fix incorrect OPP count handling in of_init_opp_table 2014-06-30 20:11:59 -07:00
power.h PM / QoS: Remove device PM QoS sysfs attributes at the right place 2013-03-04 14:23:12 +01:00
qos.c PM / QoS: Add dev_pm_qos_request tracepoints 2013-06-24 13:09:03 +02:00
runtime.c PM / Runtime: Respect autosuspend when idle triggers suspend 2013-10-16 02:06:57 +02:00
sysfs.c driver core: replace strict_strto*() with kstrto*() 2013-07-26 18:02:43 -07:00
trace.c drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:38 -04:00
wakeup.c PM / Sleep: Print last wakeup source on failed wakeup_count write 2013-06-21 00:35:12 +02:00