]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: enable to use PPS feature without time stamping
authorSergey Organov <sorganov@gmail.com>
Wed, 15 Jul 2020 15:42:57 +0000 (18:42 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Jul 2020 18:31:43 +0000 (11:31 -0700)
commit990e338d7f93bcf7b3c0c81a6b140d61e43f1599
treeb9750d434a33ab8121d622ca3eae568e68adc498
parent18bc568976c21d2ef7fe31817677e7fd5396683b
net: fec: enable to use PPS feature without time stamping

PPS feature could be useful even when hardware time stamping
of network packets is not in use, so remove offending check
for this condition from fec_ptp_enable_pps().

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fec_ptp.c