net/mlx5e: Fix broken disable 1PPS flow
authorEugenia Emantayev <eugenia@mellanox.com>
Sun, 28 May 2017 09:01:38 +0000 (12:01 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 27 Jul 2017 13:40:17 +0000 (16:40 +0300)
commit49c5031ca6f0628ef973a11b17e463e088bf859e
tree83a5154b2de2a21aa0a046125ce28db71a9fc543
parentfa3676885e3b5be1edfa1b2cc775e20a45b34a19
net/mlx5e: Fix broken disable 1PPS flow

Need to disable the MTPPS and unsubscribe from the pulse events
when user disables the 1PPS functionality.

Fixes: ee7f12205abc ('net/mlx5e: Implement 1PPS support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c