interconnect: icc-rpm: Set destination bandwidth as well as source bandwidth
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 7 Jul 2022 09:38:23 +0000 (10:38 +0100)
committerGeorgi Djakov <djakov@kernel.org>
Thu, 7 Jul 2022 13:42:36 +0000 (16:42 +0300)
commit751f4d14cdb47df3721d1a7431cc1d5a790f9302
treeaa69f3ed75cfcae49cdcf3e5f1efd8b49dc5f40e
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
interconnect: icc-rpm: Set destination bandwidth as well as source bandwidth

Make it possible to set destination as well as source bandwidth. If the
*dst pointer is non-NULL. Right now it appears that we never make the
destination bw allocation call, which is inconsistent with the downstream
way of doing this.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20220707093823.1691870-1-bryan.odonoghue@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c