diff options
| author | Anmin Hsu <anmin.hsu@mediatek.com> | 2015-09-19 04:51:37 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-25 11:28:23 +0200 |
| commit | 41e819696f1e75466edf309d03bfe6b99bf03ef3 (patch) | |
| tree | d29e9cf20b41e42dc520fc501a0b67b7b5d5adb2 /drivers/misc | |
| parent | 2485849408a09c241f49ce9bf370762310a7420b (diff) | |
mlog: use round_jiffies in mlog timer
[Detail]
CPU0 off
[Solution]
use round_jiffies in mlog timer
[Feature] Others
MTK-Commit-Id: b39445fa9c9c93fbd6bb660011c242688af44f0b
Change-Id: I2b209908f2a7493e1760faafe5bd394969445996
Signed-off-by: mtk10008 <tehsin.lin@mediatek.com>
CR-Id: ALPS02298339
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/mediatek/mlog/mlog_logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mediatek/mlog/mlog_logger.c b/drivers/misc/mediatek/mlog/mlog_logger.c index a7ef1045e..fdfaf934a 100644 --- a/drivers/misc/mediatek/mlog/mlog_logger.c +++ b/drivers/misc/mediatek/mlog/mlog_logger.c @@ -755,7 +755,7 @@ static void mlog_timer_handler(unsigned long data) { mlog(MLOG_TRIGGER_TIMER); - mod_timer(&mlog_timer, jiffies + timer_intval); + mod_timer(&mlog_timer, round_jiffies(jiffies + timer_intval)); } static void mlog_init_logger(void) |
