[PATCH V2 4/4] PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added

2018-10-03 Thread Viresh Kumar
From: Dave Gerlach Currently the _of_add_opp_table_v2 call loops through the OPP nodes in the operating-points-v2 table in the device tree and calls _opp_add_static_v2 for each to add them to the table. It counts each iteration through this loop as an added OPP, however there are cases where

[PATCH V2 4/4] PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added

2018-10-03 Thread Viresh Kumar
From: Dave Gerlach Currently the _of_add_opp_table_v2 call loops through the OPP nodes in the operating-points-v2 table in the device tree and calls _opp_add_static_v2 for each to add them to the table. It counts each iteration through this loop as an added OPP, however there are cases where