diff options
author | Dean Luick <dean.luick@intel.com> | 2016-09-06 04:35:20 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-10-02 08:42:06 -0400 |
commit | 0db9dec2762e02ee596bc2b9870414d5100d0baf (patch) | |
tree | f174814711254cf8bfeace1e61c6fdeecf40b761 /drivers/infiniband/hw/hfi1/mad.c | |
parent | 261a4351844bcacb622d6d498a1bc98242b2db9e (diff) | |
download | talos-obmc-linux-0db9dec2762e02ee596bc2b9870414d5100d0baf.tar.gz talos-obmc-linux-0db9dec2762e02ee596bc2b9870414d5100d0baf.zip |
IB/hfi1: Move serdes tune inside link start function
All calls to tune_serdes and start_link are paired. Move
tune_serdes inside start_link.
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mad.c')
-rw-r--r-- | drivers/infiniband/hw/hfi1/mad.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/mad.c b/drivers/infiniband/hw/hfi1/mad.c index 7ffc14f21523..aecfc5b12d14 100644 --- a/drivers/infiniband/hw/hfi1/mad.c +++ b/drivers/infiniband/hw/hfi1/mad.c @@ -1013,7 +1013,6 @@ static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, * offline. */ set_link_state(ppd, HLS_DN_OFFLINE); - tune_serdes(ppd); start_link(ppd); } else { set_link_state(ppd, link_state); |