diff options
| author | Vladimir Oltean <[email protected]> | 2021-09-18 15:46:54 +0300 |
|---|---|---|
| committer | Ramon Fried <[email protected]> | 2021-09-28 18:50:56 +0300 |
| commit | d883a5fb52b3fe1b6cb653faa60095df0c11a6bf (patch) | |
| tree | 597e665b7b0c87eb9dd52f4ca47ae25e908886ae /scripts | |
| parent | 9bf2b962ff3585d570f3a46457f3d598c3ef301f (diff) | |
net: tsec: only call tsec_get_interface as fallback to DT-specified PHY mode
Currently the init_phy function may overwrite the priv->interface
property, since it calls tsec_get_interface which tries to determine it
dynamically based on default register values in ECNTRL.
Let's do that only if phy-connection-type happens to not be defined in
the device tree.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
