diff options
| author | Jerome Forissier <[email protected]> | 2024-09-11 11:58:23 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-09-24 13:41:21 -0600 |
| commit | 104e890fc0ccac1963b893fb6e4841e688fbda89 (patch) | |
| tree | 8b24731befcfb3a32f3bb5761eee072f30966fd6 /doc/develop/bootstd | |
| parent | 0ebbed66b07cd3acd08a072b225c738c986d35a9 (diff) | |
net: fec_mxc_init(): do not ignore return status of fec_open()
The fec_mxc_init() function currently always returns 0. This does not
allow the callers to detect when for instance the PHY initialization
failed due to the port being unconnected. Fix that by returning the
status of fec_open().
Signed-off-by: Jerome Forissier <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Reviewed-by: Peter Robinson <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions
