interconnect: Aggregate before setting initial bandwidth
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 13 Oct 2020 13:59:11 +0000 (16:59 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 15 Oct 2020 06:24:00 +0000 (09:24 +0300)
commitd3703b3e255f56d543aac183f8aafdbfd7096559
tree3499b4c25a41e7db4a262eb3868dfbfbed22f545
parent5be1805dc3961ce0465bcb0beab85fe8580af08d
interconnect: Aggregate before setting initial bandwidth

When setting the initial bandwidth, make sure to call the aggregate()
function (if such is implemented for the current provider), to handle
cases when data needs to be aggregated first.

Fixes: b1d681d8d324 ("interconnect: Add sync state support")
Acked-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20201013135913.29059-1-georgi.djakov@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/core.c