summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-07-23 16:06:20 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-27 06:51:53 +0200
commit32cba57ba74be58589aeb4cb6496183e46a5e3e5 (patch)
treecde848eeb941a9b7dc2743942f2ce565ddf44faa /net
parentnet: fec: use managed DMA API functions to allocate BD ring (diff)
downloadlinux-32cba57ba74be58589aeb4cb6496183e46a5e3e5.tar.xz
linux-32cba57ba74be58589aeb4cb6496183e46a5e3e5.zip
net: fec: introduce fec_ptp_stop and use in probe fail path
This function frees resources and cancels delayed work item that have been initialized in fec_ptp_init(). Use this to do proper error handling if something goes wrong in probe function after fec_ptp_init has been called. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Fugang Duan <B38611@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions