aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-11-20 09:25:13 +0800
committerDavid S. Miller <davem@davemloft.net>2019-11-19 18:58:54 -0800
commita31eda65ba210741b598044d045480494d0ed52a (patch)
tree9992c4ca8df0523497f8b8cb757a50a502d1a332 /tools/perf/scripts/python/export-to-postgresql.py
parentf67169fef8dbcc1ac6a6a109ecaad0d3b259002c (diff)
net: fec: fix clock count mis-match
pm_runtime_put_autosuspend in probe will call runtime suspend to disable clks automatically if CONFIG_PM is defined. (If CONFIG_PM is not defined, its implementation will be empty, then runtime suspend will not be called.) Therefore, we can call pm_runtime_get_sync to runtime resume it first to enable clks, which matches the runtime suspend. (Only when CONFIG_PM is defined, otherwise pm_runtime_get_sync will also be empty, then runtime resume will not be called.) Then it is fine to disable clks without causing clock count mis-match. Fixes: c43eab3eddb4 ("net: fec: add missed clk_disable_unprepare in remove") Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions