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 <gsantosh@codeaurora.org>
This commit is contained in:
Santosh Mardi 2019-10-21 11:02:58 +05:30 • committed by Amir Vajid
commit 1ec246bf08

View file

@ -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)