commit | 1442a9a9f2e441b15393c2d89286303b103a57e8 | [log] [tgz] |
---|---|---|
author | Luca Coelho <luciano.coelho@intel.com> | Mon Sep 18 14:39:26 2017 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri Oct 06 13:59:44 2017 +0300 |
tree | acc264ac0c0c01d2e1f61590073cb48af4b4d049 | |
parent | 1efc3843a4ee1331bc20df685a79b47fa0f547d2 [diff] |
iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down It seems that libsensors treats -EIO as a special non-recoverable failure when it tries to read the temperature while the firmware is not running. To solve that, change the error code to a milder -ENODATA. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=196941 Fixes: c221daf219b1 ("iwlwifi: mvm: add registration to thermal zone") Signed-off-by: Luca Coelho <luciano.coelho@intel.com>