net: ethernet: stmmac: dwmac-meson8b: fix probe error path
authorJohan Hovold <johan@kernel.org>
Wed, 30 Nov 2016 14:29:53 +0000 (15:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 15:42:46 +0000 (10:42 -0500)
commit5cc70bbcacf6728b598b529a061930d8271adbb5
tree01a774686884d89bd490fcbca20e7db943d58402
parent939b20022765bc338b0f72cbf1eed60a907398d7
net: ethernet: stmmac: dwmac-meson8b: fix probe error path

Make sure to disable clocks before returning on late probe errors.

Fixes: 566e82516253 ("net: stmmac: add a glue driver for the Amlogic
Meson 8b / GXBB DWMAC")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c