Re: [PATCH v3.18] net: fec: introduce fec_ptp_stop and use in probe fail path

2018-03-07 Thread Greg Kroah-Hartman
On Tue, Mar 06, 2018 at 03:23:23PM -0800, Guenter Roeck wrote: > From: Lucas Stach > > [ upstream commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 ] > > This function frees resources and cancels delayed work item that > have been initialized in fec_ptp_init(). > > Use

[PATCH v3.18] net: fec: introduce fec_ptp_stop and use in probe fail path

2018-03-06 Thread Guenter Roeck
From: Lucas Stach [ upstream commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 ] 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