diff options
| author | Primoz Fiser <[email protected]> | 2024-01-30 13:43:37 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-02-08 09:01:22 -0300 |
| commit | 259e1012713f788dc595c5a6960520d48c1bbf1b (patch) | |
| tree | c5165f69134a62977ad87de3d8c24b0ea17ae707 /include | |
| parent | b0adbd6f8eb24f2891ae17bd84d40cdbbce65897 (diff) | |
imx9: clock: Fix board_interface_eth_init for FEC
Commit d5eae216d833 ("net: dwc_eth_qos: Add board_interface_eth_init()
for i.MX93") implemented board_interface_eth_init for i.MX9 platforms.
However it only accounted for the EQOS interface while any board using
FEC as primary Ethernet interface was left out as return value -EINVAL
is always returned from the function in such case.
Fix this by returning 0 (success) when FEC interface is primarily used
instead of EQOS interface on i.MX93.
Fixes: d5eae216d833 ("net: dwc_eth_qos: Add board_interface_eth_init() for i.MX93")
Signed-off-by: Primoz Fiser <[email protected]>
Tested-by: Mathieu Othacehe <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
