fsl/fman: check of_get_phy_mode() return value
For unknown compatibles avoid crashing and default to SGMII.
Signed-off-by: NMadalin Bucur <madalin.bucur@nxp.com>
Showing
想要评论请 注册 或 登录
For unknown compatibles avoid crashing and default to SGMII.
Signed-off-by: NMadalin Bucur <madalin.bucur@nxp.com>