ACPI / CPPC: check for error bit in PCC status field
authorPrakash, Prashanth <pprakash@codeaurora.org>
Tue, 16 Aug 2016 20:39:44 +0000 (14:39 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Aug 2016 23:02:34 +0000 (01:02 +0200)
commit139aee73f0c23b95a7e919b8f7e51ccf2d221181
tree54af1fac0f5f558e9bf51e67f9b828144f4c11e0
parent8482ef8c6e684a1bba703c330e0bafe2d1d29ef7
ACPI / CPPC: check for error bit in PCC status field

PCC status field exposes an error bit(2) to indicate any errors during
the execution of last comamnd. This patch checks the error bit before
notifying success/failure to the cpufreq driver.

Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/cppc_acpi.c
include/acpi/cppc_acpi.h