intel_powerclamp: Fix cstate counter detection.
authorYuxuan Shui <yshuiv7@gmail.com>
Mon, 18 Nov 2013 07:06:35 +0000 (15:06 +0800)
committerZhang Rui <rui.zhang@intel.com>
Fri, 3 Jan 2014 14:49:50 +0000 (22:49 +0800)
commit7734e3ac89b27caf87d43d264bbbc26240413227
tree2893113507191526c2554ff557a5dd7157bd83d5
parenta116776f7b6052599df0c67db29c30ea9d69d7ee
intel_powerclamp: Fix cstate counter detection.

Having all zero cstate count doesn't necesserily mean the cstate
counter is no functional.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel_powerclamp.c