ACPI / CPPC: acquire pcc_lock only while accessing PCC subspace
authorPrakash, Prashanth <pprakash@codeaurora.org>
Tue, 16 Aug 2016 20:39:39 +0000 (14:39 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Aug 2016 23:02:33 +0000 (01:02 +0200)
commit850d64a4a63ea58c7d58161989d3bd4035ec6dfd
tree67179a48a2261fd735994b37c0ace4324e729ba9
parent5bbb86aa4b8d84395e42cd05448820651d79f349
ACPI / CPPC: acquire pcc_lock only while accessing PCC subspace

We need to acquire pcc_lock only when we are accessing registers
that are in the PCC subspsace.

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