Skip to content
Commit f8dbe58e authored by Christophe Roullier's avatar Christophe Roullier Committed by Paolo Abeni
Browse files

net: stmmac: dwmac-stm32: update err status in case different of stm32mp13



The mask parameter of syscfg property is mandatory for MP13 but
optional for all other cases.
The function should not return error code because for non-MP13
the missing syscfg phandle in DT is not considered an error.
So reset err to 0 in that case to support existing DTs without
syscfg phandle.

Fixes: 50bbc039 ("net: stmmac: dwmac-stm32: add management of stm32mp13 for stm32")
Signed-off-by: default avatarChristophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Tested-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 3cd1d465
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