diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-17 20:13:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-22 04:47:56 +0300 |
commit | 9276bfc2df92c6c45a963dea34d8c83656987ea7 (patch) | |
tree | 16db8036e87796a09801be356a0d83f128185ee6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 544456b3b481dbd1f161c30c72564f4640699935 (diff) | |
download | linux-9276bfc2df92c6c45a963dea34d8c83656987ea7.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions