diff options
author | Sascha Hauer <[email protected]> | 2020-06-24 09:00:44 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-24 14:51:42 -0700 |
commit | d3d239dcb8aae6d7b10642d292b404e57604f7ea (patch) | |
tree | 953b6125f3625cbb161dad79fabd849f0087b602 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 1ed9ec9b08addbd8d3e36d5f4a652d8590a6ddb7 (diff) |
net: ethernet: mvneta: Do not error out in non serdes modes
In mvneta_config_interface() the RGMII modes are catched by the default
case which is an error return. The RGMII modes are valid modes for the
driver, so instead of returning an error add a break statement to return
successfully.
This avoids this warning for non comphy SoCs which use RGMII, like
SolidRun Clearfog:
WARNING: CPU: 0 PID: 268 at drivers/net/ethernet/marvell/mvneta.c:3512 mvneta_start_dev+0x220/0x23c
Fixes: b4748553f53f ("net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy")
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions