diff options
author | Konrad Dybcio <[email protected]> | 2023-05-31 18:33:03 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-06-13 14:58:21 -0700 |
commit | 1c8267cd14ed6a592a2c2a8eb0fefad4eabe5b4f (patch) | |
tree | a77b9cc14e0772ec49223a2aa61bc978e20901bf | |
parent | 66171d3fa08eca4e10384eee385cbdaaea6bb43e (diff) |
soc: qcom: icc-bwmon: Fix MSM8998 count unit
MSM8998's BWMON counts in megabytes. Fix it.
Signed-off-by: Konrad Dybcio <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | drivers/soc/qcom/icc-bwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/icc-bwmon.c b/drivers/soc/qcom/icc-bwmon.c index fd58c5b69897..6c6da73214e4 100644 --- a/drivers/soc/qcom/icc-bwmon.c +++ b/drivers/soc/qcom/icc-bwmon.c @@ -806,7 +806,7 @@ static int bwmon_remove(struct platform_device *pdev) static const struct icc_bwmon_data msm8998_bwmon_data = { .sample_ms = 4, - .count_unit_kb = 64, + .count_unit_kb = 1024, .default_highbw_kbps = 4800 * 1024, /* 4.8 GBps */ .default_medbw_kbps = 512 * 1024, /* 512 MBps */ .default_lowbw_kbps = 0, |