diff options
| author | Bjorn Andersson <[email protected]> | 2023-12-05 22:14:00 +0000 |
|---|---|---|
| committer | Georgi Djakov <[email protected]> | 2023-12-06 15:00:42 +0000 |
| commit | 9085b23b668ad5aca62df4f071b306a47152e6b3 (patch) | |
| tree | 00d1503dab46b2e253bfb72c05ee785f876d59bf /fs/ubifs/commit.c | |
| parent | interconnect: qcom: sm8250: Enable sync_state (diff) | |
| download | kernel-9085b23b668ad5aca62df4f071b306a47152e6b3.tar.gz kernel-9085b23b668ad5aca62df4f071b306a47152e6b3.zip | |
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: dd014803f260 ("interconnect: qcom: icc-rpm: Add AB/IB calculations coefficients")
Cc: [email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
