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

From
Florian Fainelli <f.fainelli@gmail.com>
Date
2023-10-09 21:14:48
Also in
linux-doc, lkml
Reply to
Köry Maincent, 2023-10-09
On 10/9/23 08:51, Köry Maincent wrote:
From: Kory Maincent <kory.maincent@bootlin.com>

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@bootlin.com>
---

This patch is not tested but it seems consistent to me.
This does look correct to me as well.
-- 
Florian
Thread (61 messages) 61 messages, 11 authors, last reply 2023-10-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help