e1000e: PTP lock in e1000e_phc_adjustfreq
authorTodd Fujinaka <todd.fujinaka@intel.com>
Sat, 18 Jan 2014 06:09:33 +0000 (06:09 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Mar 2014 04:53:56 +0000 (20:53 -0800)
commit6c2ed39c1c0a7118b89394c26e86a24e5070e579
tree1ae43d1c7842a043988ffaf18a49793967b035cb
parent37147652cfaa20a87ead9bb04aec1834b40c5c97
e1000e: PTP lock in e1000e_phc_adjustfreq

Add lock in e1000e_phc_adjfreq to prevent concurrent changes to TIMINCA
and SYSTIMH/L.

Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ptp.c