History

rtc: ds1685: use threaded interrupt

Handling of extended interrupts (kickstart, wake-up, ram-clear) was moved off to a work queue, but the interrupts aren't acknowledged in the interrupt handler. This leads to a deadlock, if driver is used with interrupts. To fix this we use a threaded interrupt, get rid of the work queue and do locking with just the rtc mutex lock.

Thomas Bogendoerfer committed 7 years ago

Commit 3b6bddd1 parent e330c3d2 files · +104 −118Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/rtc/ds1685.h+0−2
@@ -48,8 +48,6 @@ struct ds1685_priv { · 47 unmodified lines
4848 u32 regstep;
4949 resource_size_t baseaddr;
5050 size_t size;
51− spinlock_t lock;
52− struct work_struct work;
5351 int irq_num;
5452 bool bcd_mode;
5553 bool no_irq;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t