aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2007-12-08 05:02:33 -0500
committerLen Brown <len.brown@intel.com>2007-12-14 15:13:51 -0500
commit09f1fb41ad45bc18abe07c62f7b56560571584d1 (patch)
treee5d5af2d570c16fb96219d75d4ae128dafb5a671
parentda8cadb31b82c9d41fc593c8deab6aa20b162d6b (diff)
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>
-rw-r--r--drivers/acpi/sbshc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/sbshc.c b/drivers/acpi/sbshc.c
index 046d7c3ed356..12a1532513e3 100644
--- a/drivers/acpi/sbshc.c
+++ b/drivers/acpi/sbshc.c
@@ -222,6 +222,7 @@ static int smbus_alarm(void *context)
222 if (!status.fields.alarm) 222 if (!status.fields.alarm)
223 return 0; 223 return 0;
224 mutex_lock(&hc->lock); 224 mutex_lock(&hc->lock);
225 status.fields.alarm = 0;
225 smb_hc_write(hc, ACPI_SMB_STATUS, status.raw); 226 smb_hc_write(hc, ACPI_SMB_STATUS, status.raw);
226 if (hc->callback) 227 if (hc->callback)
227 acpi_os_execute(OSL_GPE_HANDLER, acpi_smbus_callback, hc); 228 acpi_os_execute(OSL_GPE_HANDLER, acpi_smbus_callback, hc);