commit | d179bd1699fccd9d5b9bc38470bab7343a441ea0 | [log] [tgz] |
---|---|---|
author | sudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com> | Wed Apr 26 09:00:53 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 27 16:51:34 2017 -0400 |
tree | 8b356b9b565dcce8e052eaccc5e89334bc23694e | |
parent | 6a3ff0db13110fad9ecaf9554e0a1f93c5d7b774 [diff] |
qed: Acquire/release ptt_ptp lock when enabling/disabling PTP. Move the code for acquiring/releasing ptt_ptp lock to ptp specific implementations i.e., ptp_enable()/disable() respectively. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>