Re: [PATCH] Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC

2007-12-23 Thread Clemens Ladisch
Bernhard Walle wrote: > In the current code, RTC_AIE doesn't work if the RTC relies on > CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag > in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally > check for RTC_PIE and not RTC_AIE when comparing the time > which was set

Re: [PATCH] Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC

2007-12-23 Thread Clemens Ladisch
Bernhard Walle wrote: In the current code, RTC_AIE doesn't work if the RTC relies on CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally check for RTC_PIE and not RTC_AIE when comparing the time which was set in

[PATCH] Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC

2007-12-20 Thread Bernhard Walle
In the current code, RTC_AIE doesn't work if the RTC relies on CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally check for RTC_PIE and not RTC_AIE when comparing the time which was set in hpet_set_alarm_time(). This

[PATCH] Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC

2007-12-20 Thread Bernhard Walle
In the current code, RTC_AIE doesn't work if the RTC relies on CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally check for RTC_PIE and not RTC_AIE when comparing the time which was set in hpet_set_alarm_time(). This