]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5df7c7e315d29eb0616e724d4699f185eef2ce8f
tree3916071d1e14957c2b7e7b3cbaf153b316942db9
parent7e8d040cc3055d542f99c2ceaaef9e528d0705a0
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