staging/rdma/hfi1: Correct TWSI reset
authorDean Luick <dean.luick@intel.com>
Wed, 3 Feb 2016 22:36:14 +0000 (14:36 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:57 +0000 (20:37 -0500)
commitcfe3e656d8cd5ff03b8f0ce24f920f306313b013
treee61d49d6d4d734a50d3c291010bbd66b3c51b7e2
parent0096765be01926e7efcc22032032347448743de5
staging/rdma/hfi1: Correct TWSI reset

Change the TWSI reset function so it will stop the reset
once the lines are in an expected state.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Pablo Cacho <pablo.cacho@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/qsfp.c
drivers/staging/rdma/hfi1/twsi.c
drivers/staging/rdma/hfi1/twsi.h