summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@marvell.com>2020-06-23 16:51:34 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-24 01:01:16 +0300
commit1c85f394c2206ea3835f43534d5675f0574e1b70 (patch)
tree94b1427f946149e7e76b331cfc01918881a00a53 /lib/mpi/mpi-sub-ui.c
parentd434d02f7e7c24c721365fd594ed781acb18e0da (diff)
downloadlinux-1c85f394c2206ea3835f43534d5675f0574e1b70.tar.xz
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 <alobakin@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions