qca-nss-dp: fix typo in 0002-edma_tx_rx-support-newe
authorKristian Skramstad <kristian+github@83.no>
Tue, 28 Nov 2023 08:08:58 +0000 (09:08 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 5 Dec 2023 22:54:24 +0000 (23:54 +0100)
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>
package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch

index d84e9a98d56ed418f06c5915fee00227df6f79d9..d091311b9752e00a5bfd64777cc6bdf7a0d5bf2c 100644 (file)
@@ -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);