]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: fix timestamp info if ptp clock does not work
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 20 Apr 2020 02:46:46 +0000 (10:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2020 22:38:33 +0000 (15:38 -0700)
commitfe9c86bb96cd6dbe606bef114ee1f889d125f4d2
tree14ee7bfce1fec21e161af940ef1c99d0db83f6d9
parentf1fa683b96214c582493d108a9375e25be5980c6
net: mscc: ocelot: fix timestamp info if ptp clock does not work

The timestamp info should be only software timestamp capabilities
if ptp clock does not work.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c