diff options
author | Bin Gao <bin.gao@linux.intel.com> | 2016-06-23 17:45:35 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-06-24 15:25:37 +0200 |
commit | d8ba8191245e3484d8533d9bef1432d13829e347 (patch) | |
tree | 8f39d3a1ee7e5f40994b26889bf6a37ec4d3a777 /drivers/acpi/Kconfig | |
parent | 33688abb2802ff3a230bd2441f765477b94cc89e (diff) | |
download | linux-rpi-d8ba8191245e3484d8533d9bef1432d13829e347.tar.gz linux-rpi-d8ba8191245e3484d8533d9bef1432d13829e347.tar.bz2 linux-rpi-d8ba8191245e3484d8533d9bef1432d13829e347.zip |
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: Yegnesh Iyer <yegnesh.s.iyer@intel.com>
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
0 files changed, 0 insertions, 0 deletions