octeontx-af: fix hardware timestamp configuration
authorHariprasad Kelam <hkelam@marvell.com>
Tue, 4 Jul 2023 04:26:53 +0000 (09:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2023 18:52:56 +0000 (19:52 +0100)
commit14bb236b29922c4f57d8c05bfdbcb82677f917c9
tree20acf1427c736a44a27debb2e243f4564b232e7e
parent95c41842bcbdeab8debda1a4285850bd8235fbbe
octeontx-af: fix hardware timestamp configuration

MAC block on CN10K (RPM) supports hardware timestamp configuration. The
previous patch which added timestamp configuration support has a bug.
Though the netdev driver requests to disable timestamp configuration,
the driver is always enabling it.

This patch fixes the same.

Fixes: d1489208681d ("octeontx2-af: cn10k: RPM hardware timestamp configuration")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c