Skip to content
Commit d8ba8191 authored by Bin Gao's avatar Bin Gao Committed by Rafael J. Wysocki
Browse files

ACPI / PMIC: modify the pen function signature to take bit field



Issue description: On some pmics, the policy enable for thermal alerts
refers to different bit fields of the same registers, whereas on other
pmics, the policy enable refers to the same bit field on different
registers. Previous implementation did not provide the flexibility for
supporting the first approach.

Solution: Modified the policy enable function to take bit field as well.
The use of bit field is left to the pmic specific opregion driver.

Signed-off-by: default avatarYegnesh Iyer <yegnesh.s.iyer@intel.com>
Signed-off-by: default avatarBin Gao <bin.gao@intel.com>
Reviewed-by: default avatarAaron Lu <aaron.lu@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 33688abb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment