From 1ec246bf081d32f9eb753cf4f0f76a12db5daa27 Mon Sep 17 00:00:00 2001 From: Santosh Mardi Date: Mon, 21 Oct 2019 11:02:58 +0530 Subject: [PATCH] devfreq: update sampling window timer limit Current SW limit is not matching the HW limit, update limit to align with the available HW limit. Change-Id: I6e221136142785a98e3cd378915b2139904f1551 Signed-off-by: Santosh Mardi --- drivers/devfreq/bimc-bwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/bimc-bwmon.c b/drivers/devfreq/bimc-bwmon.c index 286d313c18ed..668477348ae9 100644 --- a/drivers/devfreq/bimc-bwmon.c +++ b/drivers/devfreq/bimc-bwmon.c @@ -186,7 +186,7 @@ void mon_clear(struct bwmon *m, bool clear_all, enum mon_reg_type type) mb(); } -#define SAMPLE_WIN_LIM 0xFFFFF +#define SAMPLE_WIN_LIM 0xFFFFFF static __always_inline void mon_set_hw_sampling_window(struct bwmon *m, unsigned int sample_ms, enum mon_reg_type type)