]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-rk: fix error path in rk_gmac_probe
authorEmil Renner Berthing <kernel@esmil.dk>
Sat, 21 Mar 2020 14:36:19 +0000 (15:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 02:58:48 +0000 (19:58 -0700)
commitb2ea954fc652002198fb4aa722b7d4439d8b62b6
tree48ab4f0c91005cd1c5d5660f296e7150421cf110
parenta9b160530e28bae79bab912c656117cd3f7f0a38
net: stmmac: dwmac-rk: fix error path in rk_gmac_probe

Make sure we clean up devicetree related configuration
also when clock init fails.

Fixes: d88f31712eac ("net: stmmac: dwmac-rk: Add integrated PHY support")
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c