diff options
author | Alexander Mezin <mezin.alexander@gmail.com> | 2014-03-12 00:58:48 +0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-19 01:57:47 +0100 |
commit | 4eee4f03ce7aea1ef212bb5c27a8b54d73315996 (patch) | |
tree | 5a62923fa3d55cf0a91dd5d797cb957678d7f47b /security/tomoyo/network.c | |
parent | 411e0f77bdf79cdb80b61ab78acc6513c9ff8f97 (diff) | |
download | blackbird-op-linux-4eee4f03ce7aea1ef212bb5c27a8b54d73315996.tar.gz blackbird-op-linux-4eee4f03ce7aea1ef212bb5c27a8b54d73315996.zip |
ACPI / AC: recheck adapter status upon battery status changes
On HP Pavilion dv6-6179er there are no notifications when AC adapter
is plugged/unplugged.
However, when AC status is read (acpi_ac_get_state), and if AC status
has changed, AML code triggers the notification.
This patch solves the problem by re-reading AC adapter status upon
ACPI_BATTERY_NOTIFY_STATUS notification.
Signed-off-by: Alexander Mezin <mezin.alexander@gmail.com>
Acked-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'security/tomoyo/network.c')
0 files changed, 0 insertions, 0 deletions