Re: [rtc-linux] [PATCH 3/4] rtc: Add rtc-tx4939 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 20 Nov 2008 17:21:38 +0100, Alessandro Zummo <alessandro.zummo@xxxxxxxxxxxx> wrote:
> > It is used to protect sysfs nvram access from rtc ops.
> > 
> > Hm, can I use rtc->ops_lock in sysfs read/write routine to achieve it?
> 
>  it should be doable, rtc-ds1305 uses it

But ops_lock is mutex, so it cannot protect from an interrupt handler.
I will try rtc->irq_lock.

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux