projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da8cadb
)
ACPI: SBS: Reset alarm bit
author
Alexey Starikovskiy
<astarikovskiy@suse.de>
Sat, 8 Dec 2007 10:02:33 +0000
(13:02 +0300)
committer
Len Brown
<len.brown@intel.com>
Fri, 14 Dec 2007 20:13:51 +0000
(15:13 -0500)
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>
drivers/acpi/sbshc.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/sbshc.c
b/drivers/acpi/sbshc.c
index 046d7c3ed3561d93e3eee36927abc3271ac6fd83..12a1532513e3ce5fabf3607f5012748c08b3601f 100644
(file)
--- a/
drivers/acpi/sbshc.c
+++ b/
drivers/acpi/sbshc.c
@@
-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);