Linux/linux ca12cf5drivers/net/ethernet/mellanox/mlx5/core/lib clock.c

mlx5: Reject requests to enable time stamping on both edges.

This driver enables rising edge or falling edge, but not both, and so
this patch validates that the request contains only one of the two
edges.

Signed-off-by: Richard Cochran <richardcochran at gmail.com>
Reviewed-by: Saeed Mahameed <saeedm at mellanox.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+6-0drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
+6-01 files

UnifiedSplitRaw