From: Fabio Estevam Date: Sat, 4 Oct 2014 16:40:01 +0000 (-0300) Subject: fec: Fix fec_enet_alloc_buffers() error path X-Git-Tag: fixes-against-v3.18-rc2~144^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=681d2421e1135b95f5cd9d16fe10eac7f570a9f2;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed