From: Kapileshwar Singh Date: Mon, 16 Mar 2015 12:00:51 +0000 (+0000) Subject: thermal: cpu_cooling: Fix power calculation when CPUs are offline X-Git-Tag: omap-for-v4.3/legacy-v2-signed~141^2^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd658e02357ec879edd0c62ee1f3a19c92b0b027;p=pandora-kernel.git thermal: cpu_cooling: Fix power calculation when CPUs are offline Ensure that the CPU for which the frequency is being requested is online. If none of the CPUs are online the requested power is returned as 0. Acked-by: Javi Merino Signed-off-by: Kapileshwar Singh Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed