diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-12-15 16:46:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 07:19:59 -0800 |
commit | af69a180e0675ce95842adb519079204ee5647ea (patch) | |
tree | 138b271a928e8715611393fb779251110bc6aa22 /drivers/rtc/rtc-ds1553.c | |
parent | ba4f3e47cb9ef72f864f1b5548688e0a195011e9 (diff) | |
download | lwn-af69a180e0675ce95842adb519079204ee5647ea.tar.gz lwn-af69a180e0675ce95842adb519079204ee5647ea.zip |
rtc-tx4939: fix races around device registration
* Use its own spinlock instead of rtc->irq_lock
* Check pdata->rtc before calling rtc_update_irq
* Disable interrupt after rtc_device_unregister
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions