From: Alexey Starikovskiy Date: Sat, 8 Dec 2007 10:02:33 +0000 (+0300) Subject: ACPI: SBS: Reset alarm bit X-Git-Tag: v2.6.24-rc6~72^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09f1fb41ad45bc18abe07c62f7b56560571584d1;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 Signed-off-by: Len Brown --- diff --git a/drivers/acpi/sbshc.c b/drivers/acpi/sbshc.c index 046d7c3..12a1532 100644 --- 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);