staging/rdma/hfi1: Disable thermal polling before sensor initialization
authorJareer Abdel-Qader <jareer.h.abdel-qader@intel.com>
Sat, 7 Nov 2015 01:07:00 +0000 (20:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit4ef98989cb08af8c7c9c955cd69327bb67dcd027
tree9668be17403fc7336e1002d9afa95295f57f9911
parent65fcf5576441eb23cd1f2c9f271cbf27e3455581
staging/rdma/hfi1: Disable thermal polling before sensor initialization

During driver load the thermal sensor needs to be reset prior
to initialization of the sensor. This prevents a possible sensor lock
up which can cause the wrong temperature value to be reported.
This fix leads to remove disabling thermal polling from
reset_asic_csrs() function.

Reviewed by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Jareer Abdel-Qader <jareer.h.abdel-qader@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c