diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-10-04 13:40:01 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 00:53:56 -0400 |
commit | 681d2421e1135b95f5cd9d16fe10eac7f570a9f2 (patch) | |
tree | 69a50affab4bd3624ad3818d8093e8ef518202bf /drivers/cdrom | |
parent | b3a00c912cdf8efe985a08018fe26f362b32c1ac (diff) | |
download | op-kernel-dev-681d2421e1135b95f5cd9d16fe10eac7f570a9f2.zip op-kernel-dev-681d2421e1135b95f5cd9d16fe10eac7f570a9f2.tar.gz |
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions