Chander Kashyap 086abb5859 PM / OPP: fix incorrect OPP count handling in of_init_opp_table
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>
Cc: 3.7+ <stable@vger.kernel.org> # 3.7+
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-05-19 23:02:36 +02:00
..
2014-04-11 13:25:08 -07:00
2014-02-20 14:54:28 +01:00
2014-04-29 15:44:05 +01:00
2014-02-11 16:34:32 +00:00
2014-03-02 20:09:08 -08:00
2010-05-21 09:37:29 -07:00