diff options
| author | Weijie Gao <[email protected]> | 2021-01-12 13:44:02 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-01-18 15:23:06 -0500 |
| commit | 63779b240711cb1a0761bbceb323f5e9558394cc (patch) | |
| tree | 8f124e249c4e52a70e8d4940c0f0099f65425b47 /scripts/checkstack.pl | |
| parent | 97bf73762fed743291bb7e572aa659374990b93d (diff) | |
timer: mtk_timer: initialize the timer before use
The timer being used by this driver may have already been used by first
stage bootloader (e.g. ATF/preloader), and it's settings may differ from
what this driver is going to use.
This may cause issues, such as inaccurate timer frequency due to
incorrect clock divider.
This patch adds the initialization code to avoid them.
Signed-off-by: Weijie Gao <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
