summaryrefslogtreecommitdiffstats
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorAlexander Mezin <mezin.alexander@gmail.com>2014-03-12 00:58:48 +0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-19 01:57:47 +0100
commit4eee4f03ce7aea1ef212bb5c27a8b54d73315996 (patch)
tree5a62923fa3d55cf0a91dd5d797cb957678d7f47b /lib/crc16.c
parent411e0f77bdf79cdb80b61ab78acc6513c9ff8f97 (diff)
downloadblackbird-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 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud