On Thu, Feb 21, 2013 at 3:04 PM, Fabio Estevam [off-list ref] wrote:
On Thu, Feb 21, 2013 at 2:59 PM, Jim Baxter [off-list ref] wrote:
quoted
That is a good patch that will stop interrupts occurring before request_irq is
called.
What about the problem of fec_enet_interrupt calling fec_ptp_start_cyclecounter
before fec_ptp_init has been called?
Should fec_enet_init and fec_ptp_init be setup before the request_irq is called?
Yes, I think so. Care to submit a patch?
Ok, I prepared a patch with this fix and will submit shortly.