Skip to content

Commit 1c8267c

Browse files
konradybcioandersson
authored andcommitted
soc: qcom: icc-bwmon: Fix MSM8998 count unit
MSM8998's BWMON counts in megabytes. Fix it. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230531-topic-msm8998-bwmon-v1-1-454f9d550ee5@linaro.org
1 parent 66171d3 commit 1c8267c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/qcom/icc-bwmon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ static int bwmon_remove(struct platform_device *pdev)
806806

807807
static const struct icc_bwmon_data msm8998_bwmon_data = {
808808
.sample_ms = 4,
809-
.count_unit_kb = 64,
809+
.count_unit_kb = 1024,
810810
.default_highbw_kbps = 4800 * 1024, /* 4.8 GBps */
811811
.default_medbw_kbps = 512 * 1024, /* 512 MBps */
812812
.default_lowbw_kbps = 0,

0 commit comments

Comments
 (0)