Skip to content
Commit c2907901 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Xiaolei Wang
Browse files

net: dpaa2-mac: fix the case with no 'phys' in the DT node

commit  867b5c9b17c11911281ab68db3d91cc141f5fa20 from
https://github.com/nxp-imx/linux-imx

 lf-6.1.y

In case there are no 'phys' described in the DT node, the driver should
not error out. Instead we should just mark down that there are no SerDes
phys which in turn will determine the interface to not support dynamic
protocol reconfiguration.

Fixes: b19b8a126a7d ("net: dpaa2-mac: extend serdes code for multiple phys")
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent 5e178197
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment