diff options
author | Biao Huang <biao.huang@mediatek.com> | 2022-07-14 14:00:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-15 12:06:55 +0100 |
commit | fa4b3ca60e8011d3046765b3de8d3f1ffc53af28 (patch) | |
tree | 2ba95eaa0db4ae9e206d05ee176d84774d645e40 /tools/perf/scripts/python/syscall-counts.py | |
parent | 782d86fe44e38c0a02e92042fff2ce417d62c61a (diff) |
stmmac: dwmac-mediatek: fix clock issue
The pm_runtime takes care of the clock handling in current
stmmac drivers, and dwmac-mediatek implement the
mediatek_dwmac_clks_config() as the callback for pm_runtime.
Then, stripping duplicated clocks handling in old init()/exit()
to fix clock issue in suspend/resume test.
As to clocks in probe/remove, vendor need symmetric handling to
ensure clocks balance.
Test pass, including suspend/resume and ko insertion/remove.
Fixes: 3186bdad97d5 ("stmmac: dwmac-mediatek: add platform level clocks management")
Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions