]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Verify Hardware supports requested ptp function on a given pin
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 8 Jul 2020 08:10:01 +0000 (11:10 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 28 Jul 2020 19:55:43 +0000 (12:55 -0700)
commit0c67a632434d0c895008ebcba4652a648ef4591d
treeb27a754218ab9695471af2cd047e4ff964b17c2f
parentc4cef7dd7906f14042945ad76a14554d183cbe97
net/mlx5: Verify Hardware supports requested ptp function on a given pin

Fix a bug where driver did not verify Hardware pin capabilities for
PTP functions.

Fixes: 4c61226fbab1 ("net/mlx5e: Implement 1PPS support")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c