ptp: Allow reassigning calibration pin function
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Fri, 27 Jun 2014 10:05:33 +0000 (12:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jul 2014 01:52:54 +0000 (18:52 -0700)
commit72df7a7244c0d99414cbc1fd57c5cfeae964d3c1
treeb153f9ffd081b67b62af9054ba716338f41b5572
parente0155950f01d26c1ae82b99d13e05b2127c7b7ff
ptp: Allow reassigning calibration pin function

The ptp pin function programming does not allow calibration pin to change
function. This is problematic on hardware that uses the default calibration
pin for other purposes.

Removing this limitation does not impact calibration if userspace does not
reprogram the calibration pin.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c