staging/rdma/hfi1: Disclose more information when i2c fails
authorDean Luick <dean.luick@intel.com>
Thu, 18 Feb 2016 19:12:34 +0000 (11:12 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:44 +0000 (20:45 -0500)
commit354d9c952d9db01d561abd55fdfa09ccc67039f9
tree1fd68d303a2edad8d36285a0589dbda95b00843d
parented6f653fe430ed4912aebec10a1b9d57813fe44c
staging/rdma/hfi1: Disclose more information when i2c fails

Improve logging messages when there are i2c failures.
Clean i2c read error handling.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@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