From: Luciano Coelho Date: Thu, 4 Sep 2014 09:29:15 +0000 (+0300) Subject: iwlwifi: mvm: use the firmware to get the temperature during CT kill X-Git-Tag: omap-for-v3.19/prcm-cleanup~141^2~144^2~51^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0a09243e02e0ad6a366139093d80b870ec9a16e;p=pandora-kernel.git iwlwifi: mvm: use the firmware to get the temperature during CT kill Reading the temperature directly from the hardware, without the help of the firmware, is a complex process and is not entirely the same for different hardware. Also, some NICs don't easily allow access to the sensors when the firmware is not running, which would add even more complexity to the code. To reduce the code complexity and to avoid code duplication between the firmware and the driver, boot the firmware briefly to read the current temperature while in CT kill mode. Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed