diff options
author | Ioana Ciornei <[email protected]> | 2020-11-01 14:51:01 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-05 16:31:59 -0800 |
commit | f2e9060458b11a0daa20beb68219ba6b8858beba (patch) | |
tree | e8b101526619dc9ef0c9c21e420559763eb849fe /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a3417885fc3665bf2f22ea4447015764ad66cf71 (diff) |
net: phy: mscc: use phy_trigger_machine() to notify link change
According to the comment describing the phy_mac_interrupt() function, it
it intended to be used by MAC drivers which have noticed a link change
thus its use in the mscc PHY driver is improper and, most probably, was
added just because phy_trigger_machine() was not exported.
Now that we have acces to trigger the link state machine, use directly
the phy_trigger_machine() function to notify a link change detected by
the PHY driver.
Signed-off-by: Ioana Ciornei <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions