diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-03-05 22:44:30 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 20:26:47 +0100 |
commit | 4c014e872e02baa5b0bde38b2b2867ccf1f9df76 (patch) | |
tree | b9e6315145e8c50b684ce532696a2082c90a987a /sound | |
parent | mfd/mc13783: new function reading irq mask and status register (diff) | |
download | linux-4c014e872e02baa5b0bde38b2b2867ccf1f9df76.tar.xz linux-4c014e872e02baa5b0bde38b2b2867ccf1f9df76.zip |
rtc/mc13783: protect rtc {,un}registration by mc13783 lock
This is to protect from interrupt handlers using an unregistered rtc
device.
To assert that the reset irq is considered now before the rtc is
registered the corresponding status is checked before.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: Valentin Longchamp <valentin.longchamp@epfl.ch>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions