diff options
| author | 2025-05-16 09:23:39 +0200 | |
|---|---|---|
| committer | 2025-10-09 23:34:52 +0200 | |
| commit | 9db26d5855d0374d4652487bfb5aacf40821c469 (patch) | |
| tree | b9c0b139b6a361f8992536b61c0994b6e55b0eca /tools/perf/scripts/python/task-analyzer.py | |
| parent | rtc: tps6586x: Fix initial enable_irq/disable_irq balance (diff) | |
| download | linux-rng-9db26d5855d0374d4652487bfb5aacf40821c469.tar.xz linux-rng-9db26d5855d0374d4652487bfb5aacf40821c469.zip | |
rtc: interface: Ensure alarm irq is enabled when UIE is enabled
When setting a normal alarm, user-space is responsible for using
RTC_AIE_ON/RTC_AIE_OFF to control if alarm irq should be enabled.
But when RTC_UIE_ON is used, interrupts must be enabled so that the
requested irq events are generated.
When RTC_UIE_OFF is used, alarm irq is disabled if there are no other
alarms queued, so this commit brings symmetry to that.
Signed-off-by: Esben Haabendal <esben@geanix.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250516-rtc-uie-irq-fixes-v2-5-3de8e530a39e@geanix.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
