linux/drivers/interconnect
Bjorn Andersson 9085b23b66 interconnect: qcom: icc-rpm: Fix peak rate calculation
Per the commit message of commit 'dd014803f260 ("interconnect: qcom:
icc-rpm: Add AB/IB calculations coefficients")', the peak rate should be
100/ib_percent. But, in what looks like a typical typo, the numerator
value is discarded in the calculation.

Update the implementation to match the described intention.

Fixes: dd014803f2 ("interconnect: qcom: icc-rpm: Add AB/IB calculations coefficients")
Cc: stable@vger.kernel.org
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231205-qcom_icc_calc_rate-typo-v1-1-9d4378dcf53e@quicinc.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
2023-12-06 17:00:42 +02:00
..
imx interconnect: imx: Replace inclusion of kernel.h in the header 2023-10-10 14:10:50 +03:00
qcom interconnect: qcom: icc-rpm: Fix peak rate calculation 2023-12-06 17:00:42 +02:00
samsung interconnect: exynos: drop redundant link destroy 2023-03-13 21:13:48 +02:00
bulk.c interconnect: add device managed bulk API 2022-07-04 16:14:29 +03:00
core.c interconnect: Treat xlate() returning NULL node as an error 2023-11-22 14:36:03 +02:00
debugfs-client.c interconnect: Add debugfs test client 2023-08-22 21:04:50 +03:00
icc-clk.c interconnect: icc-clk: Annotate struct icc_clk_provider with __counted_by 2023-08-22 01:11:09 +03:00
internal.h Merge branch 'icc-debugfs' into icc-next 2023-08-22 21:05:09 +03:00
Kconfig interconnect: add clk-based icc provider support 2023-05-18 19:02:23 +03:00
Makefile interconnect: Add debugfs test client 2023-08-22 21:04:50 +03:00
trace.h interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00