aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/qca-nss-dp
diff options
context:
space:
mode:
authorKristian Skramstad <kristian+github@83.no>2023-11-28 09:08:58 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-12-05 23:54:24 +0100
commit4580213eeb65d609b109753f95c9c7db429f4d10 (patch)
treee4569a77b72fd4f63f3d217de2e5c42bef8b82ee /package/kernel/qca-nss-dp
parentfd9d1e90b49cdcb1ebd53a0b4e1eaa4353a974f7 (diff)
qca-nss-dp: fix typo in 0002-edma_tx_rx-support-newe
Might be a typo in drv->txtstamp function: + phy_rxtstamp(ndev->phydev, skb, 0); to + phy_txtstamp(ndev->phydev, skb, 0); Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Diffstat (limited to 'package/kernel/qca-nss-dp')
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch b/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch
index d84e9a98d5..d091311b97 100644
--- a/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch
+++ b/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch
@@ -40,7 +40,7 @@ Signed-off-by: Baruch Siach <baruch@tkos.co.il>
ndev->phydev->drv->txtstamp(ndev->phydev, skb, 0);
+#else
+ if (ndev && phy_has_txtstamp(ndev->phydev))
-+ phy_rxtstamp(ndev->phydev, skb, 0);
++ phy_txtstamp(ndev->phydev, skb, 0);
+#endif
}
EXPORT_SYMBOL(nss_phy_tstamp_tx_buf);