diff options
author | Mohammad Athari Bin Ismail <[email protected]> | 2022-01-26 17:47:23 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-27 13:45:56 +0000 |
commit | 0735e639f129dff455aeb91da291f5c578cc33db (patch) | |
tree | 3b3f5867e3d383b3658cb05fa3d61869d42c1184 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 94c82de43e01ef5747a95e4a590880de863fe423 (diff) |
net: stmmac: skip only stmmac_ptp_register when resume from suspend
When resume from suspend, besides skipping PTP registration, it also
skipping PTP HW initialization. This could cause PTP clock not able to
operate properly when resume from suspend.
To fix this, only stmmac_ptp_register() is skipped when resume from
suspend.
Fixes: fe1319291150 ("stmmac: Don't init ptp again when resume from suspend/hibernation")
Cc: <[email protected]> # 5.15.x
Signed-off-by: Mohammad Athari Bin Ismail <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions