summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMD Danish Anwar <danishanwar@ti.com>2025-08-05 23:08:12 +0530
committerJakub Kicinski <kuba@kernel.org>2025-08-08 12:06:12 -0700
commit06feac15406f4f66f4c0c6ea60b10d44775d4133 (patch)
treece4a5e6e4d4da0f9d72935411c59a3edbb6c6278 /tools/perf/util/scripting-engines/trace-event-python.c
parent2182153cfd22974c351711cf1e66ea0b45e2cdbf (diff)
net: ti: icssg-prueth: Fix emac link speed handling
When link settings are changed emac->speed is populated by emac_adjust_link(). The link speed and other settings are then written into the DRAM. However if both ports are brought down after this and brought up again or if the operating mode is changed and a firmware reload is needed, the DRAM is cleared by icssg_config(). As a result the link settings are lost. Fix this by calling emac_adjust_link() after icssg_config(). This re populates the settings in the DRAM after a new firmware load. Fixes: 9facce84f406 ("net: ti: icssg-prueth: Fix firmware load sequence.") Signed-off-by: MD Danish Anwar <danishanwar@ti.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Message-ID: <20250805173812.2183161-1-danishanwar@ti.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions