diff options
author | 2025-04-17 18:13:12 +0100 | |
---|---|---|
committer | 2025-04-21 18:47:56 -0700 | |
commit | 9276bfc2df92c6c45a963dea34d8c83656987ea7 (patch) | |
tree | 16db8036e87796a09801be356a0d83f128185ee6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'net-adopting-nlmsg_payload-final-series' (diff) | |
download | wireguard-linux-9276bfc2df92c6c45a963dea34d8c83656987ea7.tar.xz wireguard-linux-9276bfc2df92c6c45a963dea34d8c83656987ea7.zip |
net: stmmac: socfpga: init dwmac->stmmac_rst before registration
Initialisation/setup after registration is a bug. This is the first of
two patches fixing this in socfpga.
dwmac->stmmac_rst is initialised from the stmmac plat_dat's stmmac_rst
member, which is itself initialised by devm_stmmac_probe_config_dt().
Therefore, this can be initialised before we call stmmac_dvr_probe().
Move it there.
dwmac->stmmac_rst is used by the set_phy_mode() method.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1u5SnY-001IJY-90@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions