commit | 6c691405bcaf8f1a7413416cc757756cfb060875 | [log] [tgz] |
---|---|---|
author | Grygorii Strashko <grygorii.strashko@ti.com> | Tue Dec 06 18:00:37 2016 -0600 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 07 11:13:46 2016 -0500 |
tree | bacefe23cba3ee053490ab1f97eda60a34f1e433 | |
parent | fd123a9414766e73fa704547e7f03595741b7de1 [diff] |
net: ethernet: ti: cpts: fix registration order The ptp clock registered before spinlock, which is protecting it, and before timecounter and cyclecounter initialization in cpts_register(). So, ensure that ptp clock is registered the last, after everything else is done. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>