aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAlexander Lobakin <[email protected]>2020-06-23 16:51:34 +0300
committerDavid S. Miller <[email protected]>2020-06-23 15:01:16 -0700
commit1c85f394c2206ea3835f43534d5675f0574e1b70 (patch)
tree94b1427f946149e7e76b331cfc01918881a00a53 /lib/mpi/mpi-add.c
parentd434d02f7e7c24c721365fd594ed781acb18e0da (diff)
net: qede: fix PTP initialization on recovery
Currently PTP cyclecounter and timecounter are initialized only on the first probing and are cleaned up during removal. This means that PTP becomes non-functional after device recovery. Fix this by unconditional PTP initialization on probing and clearing Tx pending bit on exiting. Fixes: ccc67ef50b90 ("qede: Error recovery process") Signed-off-by: Alexander Lobakin <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions