]> err.no Git - linux-2.6/commit
[PATCH] Fix wrong irq enable via rtc_control()
authorTakashi Iwai <tiwai@suse.de>
Mon, 7 Nov 2005 10:14:57 +0000 (11:14 +0100)
committerJaroslav Kysela <perex@suse.cz>
Mon, 7 Nov 2005 10:14:57 +0000 (11:14 +0100)
commitc3348760aaffd268f7e91b2185999025fdc5607f
treedc4fd97943a8547189bb025c71321fb67c5fc3c6
parent1d4ae4a119e5ba711f12b05cdf27f794460add4b
[PATCH] Fix wrong irq enable via rtc_control()

rtc_control() may be called in the interrupt context in ALSA rtc-timer
driver.  The patch fixes the wrong irq enable in rtc.c, and also fixes
the possible race of bit flags.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/char/rtc.c