Re: [PATCH 1/2] net: stmmac: retain PTP-clock at hwtstamp_set

2021-01-11 Thread Holger Assmann
On Thu, 17.12.20 um 02:13 Jakub Kicinski wrote: Thanks for the patch, minor nits below. Thanks for the Feedback! I will work it in for my v2. + + if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) !a && !b reads better IMHO We've chosen this variant because it is already

[PATCH 2/2] net: stmmac: drop no longer variable priv member

2020-12-16 Thread Holger Assmann
. Signed-off-by: Ahmad Fatoum Signed-off-by: Holger Assmann --- drivers/net/ethernet/stmicro/stmmac/dwmac5.c| 7 +++ drivers/net/ethernet/stmicro/stmmac/dwmac5.h| 2 +- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 7 +++ drivers/net/ethernet/stmicro/stmmac/hwif.

[PATCH 1/2] net: stmmac: retain PTP-clock at hwtstamp_set

2020-12-16 Thread Holger Assmann
t for PTP hw clock driver") Fixes: cc4c9001ce31 ("net: stmmac: Switch stmmac_hwtimestamp to generic HW Interface Helpers") Reported-by: Michael Olbrich Signed-off-by: Ahmad Fatoum Signed-off-by: Holger Assmann --- .../net/ethernet/stmicro/stmmac/stmmac_main.c | 121