summaryrefslogtreecommitdiff
path: root/crypto/crct10dif_common.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-04-23 17:20:19 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-23 12:50:21 -0700
commitba10742840fbc6e475dc05c7515fd91b7c88e1b2 (patch)
treed95a1a208366302ad49f258204ce171d7a148e9a /crypto/crct10dif_common.c
parentc8f8e47efe66dae775b617982e47a4564d7c4dda (diff)
net: ethernet: ti: cpts: rework locking
Now spinlock is used to synchronize everything which is not required. Add mutex and use to sync access to PTP interface and PTP worker and use spinlock only to sync FIFO/events processing. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/crct10dif_common.c')
0 files changed, 0 insertions, 0 deletions