opp: Don't parse icc paths unnecessarily
authorSibi Sankar <sibis@codeaurora.org>
Wed, 27 May 2020 19:24:18 +0000 (00:54 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 1 Jun 2020 07:40:15 +0000 (13:10 +0530)
commit45679f9b508f10c12a1e93cf2bdccbc1c594aa39
tree3916071d1e14957c2b7e7b3cbaf153b316942db9
parentb00e667a6d8b2b0f53098ec12ff1ffe7f7c9be20
opp: Don't parse icc paths unnecessarily

The DT node of the device may contain interconnect paths while the OPP
table doesn't have the bandwidth values. There is no need to parse the
paths in such cases.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Tested-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
[ Viresh: Support the case of !opp_table and massaged changelog ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/of.c