]> git.baikalelectronics.ru Git - kernel.git/commit
mv88e6xxx: Reject requests to enable time stamping on both edges.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 14 Nov 2019 18:45:03 +0000 (10:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 20:48:32 +0000 (12:48 -0800)
commitca6ef74ffc31d514e5cd7859d6eecf8e1051a4a2
tree8fac791d14bfc59ae6be68fdd25bafc706e0ca84
parent1cb30d9cac14d0603158f3876777ad7578cced79
mv88e6xxx: Reject requests to enable time stamping on both edges.

This driver enables rising edge or falling edge, but not both, and so
this patch validates that the request contains only one of the two
edges.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/ptp.c