diff options
| author | Jon Hunter <jonathanh@nvidia.com> | 2025-10-31 10:37:41 +0000 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-10-31 12:42:23 +0100 |
| commit | 0d510778c2f4913b5ca062b8a538929bff94e0be (patch) | |
| tree | 663405fc72f5058c61fbbcfa00da7e96ecac5ed9 /tools/perf/scripts/perl | |
| parent | b1c9390f0a44566f7cbd2db979e2ca5393767d49 (diff) | |
Revert "rtc: cpcap: Fix initial enable_irq/disable_irq balance"
Commit e0762fd26ad6 ("rtc: cpcap: Fix initial enable_irq/disable_irq
balance") set 'alarm_enabled' prior to calling the function
devm_request_threaded_irq() because this enables the IRQ. However, right
after calling devm_request_threaded_irq(), the driver calls
disable_irq() to disable the IRQ and so now 'alarm_enabled' will be true
but the IRQ is actually disabled. Revert this commit to fix the
'alarm_enabled' state.
Fixes: e0762fd26ad6 ("rtc: cpcap: Fix initial enable_irq/disable_irq balance")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20251031103741.945460-2-jonathanh@nvidia.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/perl')
0 files changed, 0 insertions, 0 deletions
