From: Chander Kashyap Date: Fri, 16 May 2014 10:51:17 +0000 (+0530) Subject: PM / OPP: fix incorrect OPP count handling in of_init_opp_table X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~5^2~3^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=086abb58590a4df73e8a6ed71fd418826937cd46;p=pandora-kernel.git 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 Signed-off-by: Inderpal Singh Acked-by: Viresh Kumar Cc: 3.7+ # 3.7+ Acked-by: Nishanth Menon Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed