Messages in this thread | | | Date | Wed, 19 Oct 2016 15:10:47 -0400 (EDT) | Subject | Re: [PATCH (net.git)] stmmac: fix and review the ptp registration. | From | David Miller <> |
| |
From: Giuseppe Cavallaro <peppe.cavallaro@st.com> Date: Wed, 19 Oct 2016 09:06:41 +0200
> The commit commit 7086605a6ab5 ("stmmac: fix error check when init ptp") > breaks the procedure added by the > commit efee95f42b5d ("ptp_clock: future-proofing drivers against PTP > subsystem becoming optional") > > So this patch tries to re-import the logic added by the latest > commit above: it makes sense to have the stmmac_ptp_register > as void function and, inside the main, the stmmac_init_ptp can fails > in case of the capability cannot be supported by the HW. > > Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Applied.
| |