mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
ACPI: SBS: Reset alarm bit
Alarm bit should be cleared in order for other alarms to be sent. http://bugzilla.kernel.org/show_bug.cgi?id=9362 Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
da8cadb31b
commit
09f1fb41ad
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ static int smbus_alarm(void *context)
|
|||
if (!status.fields.alarm)
|
||||
return 0;
|
||||
mutex_lock(&hc->lock);
|
||||
status.fields.alarm = 0;
|
||||
smb_hc_write(hc, ACPI_SMB_STATUS, status.raw);
|
||||
if (hc->callback)
|
||||
acpi_os_execute(OSL_GPE_HANDLER, acpi_smbus_callback, hc);
|
||||
|
|
Loading…
Reference in a new issue