On Tue, Mar 06, 2018 at 03:23:23PM -0800, Guenter Roeck wrote:
From: Lucas Stach l.stach@pengutronix.de
[ 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 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 [groeck: backport: context changes in .../fec_main.c] Signed-off-by: Guenter Roeck linux@roeck-us.net
Not really sure if I should send this one to David or Greg, since v3.18 is no longer officially supported, so I am sending it to both. Sorry for the noise.
This patch fixes a crash seen when running sabrelite images in a version of qemu which fixes https://bugs.launchpad.net/qemu/+bug/1753309.
This works for me, now queued up, thanks.
greg k-h