Re: [PATCH net-next v5 07/16] net: phy: micrel: fix ts_info value in case of no phc

From: Florian Fainelli
Date: Mon Oct 09 2023 - 17:14:47 EST


On 10/9/23 08:51, Köry Maincent wrote:
From: Kory Maincent <kory.maincent@xxxxxxxxxxx>

In case of no phc we should not return SOFTWARE TIMESTAMPING flags as we do
not know the netdev supports of timestamping.

There seems to be a word missing, maybe:

as we do not know whether the netdev supports timestamping.

Remove it from the lan8841_ts_info and simply return 0.

Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
---

This patch is not tested but it seems consistent to me.

This does look correct to me as well.
--
Florian