commit | 681d2421e1135b95f5cd9d16fe10eac7f570a9f2 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Sat Oct 04 13:40:01 2014 -0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 06 00:53:56 2014 -0400 |
tree | 69a50affab4bd3624ad3818d8093e8ef518202bf | |
parent | b3a00c912cdf8efe985a08018fe26f362b32c1ac [diff] |
fec: Fix fec_enet_alloc_buffers() error path When fec_enet_alloc_buffers() fails we should better undo the previous actions, which consists of: disabling the FEC clocks and putting the FEC pins into inactive state. The error path for fec_enet_mii_probe() is kept unchanged. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>